javascript - How to add a navigation sidebar and a footer to an AngularJS template without ng-include.? -


i'm new angular development. have been using few paid angular admin themes. in of them, developers have added ng-view , ng-class attribute index.html. want know how add sidebar navigation , footer every page without using ng-include.

if not want use ng-include, can put html directly in index.html. called layout template, view contains common elements along application.

in summary, in index.html outside ng-view element going appear in every page (as long use module such angular-route routing within same original html document (e.g. index.html)).

i recommend follow official angularjs tutorial if new framework. also, ng-book ari lerner must-read on topic.


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -