Angular application directory structure
Leverages Angular UI Router instead of core
UI Router allows
us to organize our application interface into a state machine.
$route service in the Angular
ngRoute module, which is organized around URL routes, UI-Router
is organized around states, which may optionally have routes, as well as other behavior, attached.
LIFT* Organization principle:
- L - Locating code easy
- I - Identify code at a glance