1.

What is the auto bootstrap process?

Answer»

Auto Bootstrapping is the process of automatically initiating the DOMContentLoaded EVENT in the BROWSER. The AngularJS application after downloading the angular.js library into the browser does the task of finding the ng-app directive which gives the root of the application. Once the directive is found, the following steps take place:

  • The angular root MODULE associated with the ng-app directive is loaded.
  • The application injector is created which in turn creates the $compile and the $rootScope objects.
  • The DOM is compiled from the ng-app element automatically and the CONTENT is rendered on the browser. This process is CALLED auto bootstrapping.


Discussion

No Comment Found