AngularJS Developer Question: Download Questions PDF
What is ng-include directive?
Answer:
Using AngularJS, we can embed HTML pages within a HTML page using ng-include directive.
<div ng-app = "" ng-controller = "studentController">
<div ng-include = "'main.htm'"></div>
<div ng-include = "'subjects.htm'"></div>
</div>
<div ng-app = "" ng-controller = "studentController">
<div ng-include = "'main.htm'"></div>
<div ng-include = "'subjects.htm'"></div>
</div>
Download AngularJS Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain me how AngularJS integrates with HTML? | Tell me how does the digest phase work? |