Get Started
829

Q: Explain about AngularJS boot process.

  • Show Answer
  • Workspace

Answer :
Explanation :

When the page is loaded in the browser, following action takes place: HTML document is loaded into the browser, and evaluated by the browser. AngularJS JavaScript file is loaded; the angular global object is created. Next, JavaScript which registers controller functions is executed. AngularJS scans through the HTML to look for AngularJS applications and views. Once view is located, it then connects that view to the corresponding controller function. Then, AngularJS executes the controller functions. It then renders the views with data from the model populated by the controller. The page is ready.

The Most Comprehensive Exam Preparation Platform

Get the Examsbook Prep App Today