AngularJS Question:
Download Questions PDF

On what steps for the compilation process of HTML happens?

Answer:

Compilation of HTML process occurs in following ways:

► Using the standard browser API, first the HTML is parsed into DOM
► By using the call to the $compile () method, compilation of the DOM is performed. The method traverses the DOM and matches the directives.
► Link the template with scope by calling the linking function returned from the previous step

Download AngularJS Interview Questions And Answers PDF

Previous QuestionNext Question
What is string interpolation in angular.js?What is linking function?