The Bootstraping phase in Angular, ng-app, and angular.bootstarp
The bootstrap phase in Angular.js is the first phase before complication, and runtime. This happens once angular is done loading in the browser, at which point angular initializes it’s own components, and then takes a look at any modules that may be defined.
Using angular.angular.bootstrap to run more than one angular app in the same page.
Typically In most cases just using the ng-app directive will work with most projects, however what if you have two complete separate apps that you want to run in the same page? One way is to use angular.bootstrap(el,[‘appname’])
The problem with the ng-app directive is that angular will only bootstrap the first module. However angular can bootstrap more than one module on the same page, it just has to be done with angular.bootstrap, or some other means.