How angular js works

1 bootstrap flow: http://java.dzone.com/articles/how-angularjs-works-%E2%80%93 angularInit method which checks for ng-app module bootstrap method which is invoked once an ng-app module is found. Following are key invocations from within bootstrap method: createInjector method which returns dependency injector. On dependency injector instance, invoke method is called. For example if myModule has ‘greeter’ dependency. we get it like…