{"id":956,"date":"2023-05-21T03:53:28","date_gmt":"2023-05-21T03:53:28","guid":{"rendered":"https:\/\/itnotes.apjsoftwares.com\/?p=956"},"modified":"2023-05-21T03:54:08","modified_gmt":"2023-05-21T03:54:08","slug":"explain-the-auto-bootstrap-process-in-angularjs","status":"publish","type":"post","link":"https:\/\/itnotes.apjsoftwares.in\/index.php\/2023\/05\/21\/explain-the-auto-bootstrap-process-in-angularjs\/","title":{"rendered":"Explain the auto bootstrap process in AngularJS"},"content":{"rendered":"\n<p>Angular initializes automatically DOMContentLoaded event or when you download angular.js script is to the browser.<\/p>\n\n\n\n<p>After this, AngularJS find the ng-app directive that is the root of angular app compilation. When ng-app directive is found, AngularJS do the following steps:<\/p>\n\n\n\n<p>1) load the module, which is associated with the directive,<\/p>\n\n\n\n<p>2) Create application injector,<\/p>\n\n\n\n<p>3) Compile the DOM from the ng-app root element. This process is known as auto bootstrapping.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Angular initializes automatically DOMContentLoaded event or when you download angular.js script is to the browser&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[25],"tags":[],"_links":{"self":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/956"}],"collection":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/comments?post=956"}],"version-history":[{"count":2,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/956\/revisions"}],"predecessor-version":[{"id":959,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/956\/revisions\/959"}],"wp:attachment":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/media?parent=956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/categories?post=956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/tags?post=956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}