Jan 15 in Angular

What is bootstrapping in Angular?

1 Answer

Jan 15

Bootstrapping in Angular is nothing but initializing, or starting the Angular app. Angular supports automatic and manual bootstrapping.

Automatic Bootstrapping: this is done by adding the ng-app directive to the root of the application, typically on the tag or tag if you want angular to bootstrap your application automatically. When Angular finds ng-app directive, it loads the module associated with it and then compiles the DOM.

Manual Bootstrapping: Manual bootstrapping provides you more control on how and when to initialize your Angular application. It is useful where you want to perform any other operation before Angular wakes up and compile the page.

Click here to read more about Angular JS
Click here to read more about Insurance

Related questions

Sep 18, 2019 in Angular
Sep 13, 2019 in Angular
Sep 13, 2019 in Angular