Back to photostream

How to use ng-include Directive in AngularJS

In HTML you cannot embed one HTML page within another HTML page. In PHP, there is include or require statement for it which takes the file name as a parameter and embed the file at the specified location.

 

Similarly, in AngularJS there is the ng-include directive that allows us to embed existing HTML pages within another HTML page.

 

Read more ...

84 views
0 faves
0 comments
Uploaded on August 7, 2018