Hello!

I'm learning about AngularJS, and now I'm in doubt...

Well, I have created a view that is a login form, then I created a  main 
view and that will display another view.

At first I create the .config for login form with ng-route, and I would 
like load partials on main view...

Eg.: ng-view load login view, if login success, load main view. In main 
view I wrote a ng-view (I tried too ui-view) that will load contacts and 
about views;

Is it correct create two routes config for distinct views?

Thank You!


-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to