I am building an angular (angular 1.2.28) app on an express/node server. There are two pages index and users. I set them on app js file. Users is a dummy page, but index is spa-style. The menu loads different templates in the index (inside the main div). But when I click users it doesn load the page, it thinks is another template to load in index and fails. I even try to set the link differently , nothing. Should I set another "when" in the routing snippet and then reload the users page? Is there a smarter way to do this by not using the routing snippet? I declared a different route in app js for users, why it doesnt just load the page ?
For the code see here <http://stackoverflow.com/questions/31807847/cannot-load-different-page-on-angular-spa> The SPA code is based on the "Beginning AngularJS" by Andrew Grant, A press, chapter 8. Thanks in advance -- 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/d/optout.
