1.

Ways of Bootstrapping in Angular

Answer» WAYS of Bootstrapping in Angular
There are 2 ways of Bootstrapping in Angular
(1)Automatic Bootstrapping
(2)Manual Bootstrapping
(1)Automatic Bootstrapping:-When we add ng-app directive in HTML or Body tag of HTML then Angular is auto-bootstrapped to the application. Once AngularJS finds the ng-app directive , it loads the module associated with it and then COMPILES the DOM.
(2)Manual Bootstrapping:-In this INITIALIZATION HAPPEN inside the script after app is created.


Discussion

No Comment Found