Routing - Ng -hide , Ng-show AngularJS -


i have base html file dashboard. in dashboard have included header html file menu. .a content tml file. footer html file using ng-include. want click on menu on header html file. after click content html should hide , new html page called equity should take place. how achieve on clicking menu. me out . new angularjs

you use ngroute achieve this. instead of ng-include, use ng-view content. define initial content , equity pages separately in $routeprovider. on clicking link, go equity page using href.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -