Hi Dmitri,

This has to do with the way ng-route works. During the CONFIG phase of your 
app, the router looks for the ng-view directive. Thats not yet loaded at 
that moment, so, nothing gets display'd
Also, you can have only 1 ng-view in your app. (how is route going to 
figure out which one you want to use??) Combine those 2 and you have your 
sample.

If you need to have multiple 'insertion points', and stuff like that, have 
a look at ui-router. That has ways to accomplish the thing you are 
apparently looking for.

Regards
Sander.

 

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to