AngularJS Developer Question:
Download Job Interview Questions and Answers PDF
Please explain the 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
☛ 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 Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell me the concept of scope hierarchy? How many scope can an application have? | Tell me what are the key features of AngularJS? |