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
Post a Comment