in Angular by
Q:

What is bootstrapping in Angular?

▼ Show 1 Answer

0 votes
by

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.

Angular JS
Learn More with Madanswer

Related questions

0 votes
asked Sep 18, 2019 in Angular by john ganales
...