OK, but it's still coupling at its most basic level. For instance, what if, part-way through the project you wanted to move to Backbone or a server-side solution? All of your HTML now has core app logic in it.
It's the sort of stuff we made fun of classic ASP and PHP for over a decade ago.
If your HTML has core app logic in it, you're not using Angular very well. The HTML should be a simple view. Any serious logic should be somewhere more sensible, like your model, or a service.
2
u/nerfornothing1138 Mar 18 '14
B, but using templates help negate this potential pitfall by separating your site into widgets or reusable components.