Re:AngularJS: Factory vs. Service vs. Provider
by mikewhy on Sunday May 04, 2014 @10:37PM
(#7696747)
> I cannot stand codebases that mix code and markup together.
In Angular people can write
app.directive('myDirective', function () {
template: "<strong>oh no</strong>"
});
which is what I think they were getting at.
Yes, angular templates are templates, not pure HTML. That's the idea. I'm not sure what your point is there.