Query on ng-view in Angular JS

How ng-view loads the right view in Angular JS ? How it decides which view to render in page ?

e,g

If I have multiple views in a application , how it decides which view to render in this example ?

any comments to this ?

Hey @winzip

AFAIK, ng-view is always used in conjunction with ng-route, and it’s the route config that specifies which view will be shown on the page.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.