Discussion RoomCategory: General QuestionExplain the boot process in AngularJS?
Nick asked 1 month ago

When the page is loaded in the browser, following things happen:

  • 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.
  • Next AngularJS scans through the HTML to look for AngularJS apps and views. Once view is located, it connects that view to the corresponding controller function.
  • Next, AngularJS executes the controller functions. It then renders the views with data from the model populated by the controller. The page gets ready.
Follow us on Social Media
Your Answer