Hi all,
Bootstrapping is the equivalent of starting, or initializing your Angular app. There are 2 ways to do so.
First :-
<html ng-app="appName">
-
-
</html>
Second:- After creating your app, you should use this when you need to have more control over the initialization process, its also call manual bootstrapping method, and you also need to include script loaders which compiles a page before angular.
angular.module("appName", [ ]):
angular.bootstrap(document, ['appName']);
0 Comment(s)