Can someone who is proficient in Angular explain to me why this many attributes are required on the form element itself:<p><pre><code> <form ng-app="LoginApp" ng-controller="LoginController" ng-submit="login()">
</code></pre>
This leads to my usual reaction to Angular: I'm sure they've got some things right, and I believe that data binding is the way to go, but holy shit that code is ugly and verbose. I've been using reactive.js [1] lately with Component [2] and its incredibly beautiful by contrast:<p><pre><code> <form data-submit="login">
</code></pre>
It uses data attributes, functions are handled for you automatically so you don't have to write the parens all the time, it will fallback to the model automatically if the view doesn't have a certain property. And the view is passed in so you don't need to specify what controller or "app" to search for, which seems way less tightly coupled.<p>Really it's one of the most beautiful libraries I've ever seen. So why would I ever want to use Angular?<p>I'm honestly curious since I've heard so many good things about Angular. It seems like they need a few more designers who can code on the team--people who care about the user experience part of API design.<p>[1]: <a href="https://github.com/component/reactive" rel="nofollow">https://github.com/component/reactive</a>
[2]: <a href="https://github.com/component/component" rel="nofollow">https://github.com/component/component</a>