Angular Template
Angular template is very useful in Dynamic APP. They are written with HTML, contain angular specific elements and attributs, and can be added or dropped in the page. More specifically, Dynamic View = Template + Controller + Model
Template’s elements and attributs
Directives, Markup:{ {expressions}}, Filter, Form controlsAdd templates into pages
We need to use ng-include directive to fetch, comile and include an external HTML fragment
Like:<div ng-include='menu.html'></div>
or<ng-include src='menu.html'></ng-include>
Note: traditional web sites would contain multiple pages. When users make a request, the server will send the corresponding html page to the users. This is not efficient. So the single page applications are emerging. Instead of reponding a page, SPA only respo