Couple abstract ideas:
- Angular apps are little separate kingdoms.
- You can't get into them from outside, and it's really frowned upon to use jQuery within them to access the DOM.
- Angular Controllers extend this concept. They can only control the DOM nodes at and below the node with
ng-controller
designated.
The loading order is somewhat important. I set it up like this: [jQuery, jQueryUI, Bootstrap, Underscore, Angular Library, any Angular Plugins, Angular Application init file, rest of angular files].