Can I use multiple ng-view in angular js ?
I see sample code as
<div ng-view></div>
Just wondering if there were multiple views …how do we manage them ?
so can we use multiple ng-view ? or whats the approach ?
Can I use multiple ng-view in angular js ?
I see sample code as
<div ng-view></div>
Just wondering if there were multiple views …how do we manage them ?
so can we use multiple ng-view ? or whats the approach ?
any comments to this ?
Thanks
ng-view is a just a placeholder for a template so yes you can use multiviews(templates);
check out this http://www.tutorialspoint.com/angularjs/angularjs_views.htm at the bottom it has an example using multiple templates.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.