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

Prolog - Listing -

orchardcms - change base url in local copy in Orchard CMS -

linear regression - Trying to get confidence/prediction intervals with `predict.lm` in R, but I keep getting an error regarding my dichotomous variable -