ng-include is a directive which is used to include external HTML fragments from other files into the view's
HTML template.
For example, index.html file can be added inside the div element by using ng-include directive as an attribute.
<div ng-controller="MyCtrl">
<div ng-include="'index.html'"></div>
</div>
ng-include directive is limited to load HTML fragments file from same domain but it doesn’t work for cross-domain
i.e. it can’t load the HTML fragments file from different domains.