javascript - How do I "think in AngularJS" if I have a jQuery background? - Stack Overflow - 0 views
stackoverflow.com/...-if-i-have-a-jquery-background
jquery javascript angular programming architecture development google angularjs web

-
in AngularJS, we have a separate model layer that we can manage in any way we want, completely independently from the view.
- ...34 more annotations...
-
DI means that you can declare components very freely and then from any other component, just ask for an instance of it and it will be granted
-
The less DOM manipulation, the easier directives are to test, the easier they are to style, the easier they are to change in the future, and the more re-usable and distributable they are.
-
use angular.element and our component will still work when dropped into a project that doesn't have jQuery.
-
If HTML doesn't do something you need it to do, you write a directive to do it for you, and then use it just as if it was part of HTML.
-
AngularJS uses controllers and directives (each of which can have their own controller, and/or compile and linking functions) to remove behavior from the view/structure (HTML). Angular also has services and filters to help separate/organize your application.