In my case, I'm leaning on ASP.NET MVC, so it handles all of my of server-side routing.
But speaking generally, our web server just provides them the old-fashioned way. My login page is the default for my site -- really, just a form with some validation and AJAX calls behind it. It uses an angular module, but it's very simple, and does not include any routing of its own. The other non-spa pages are similar. On Fri, May 23, 2014 at 7:55 AM, Stephen Adams <[email protected]>wrote: > That sounds interesting. How did you load the completely different pages? > > On Friday, May 23, 2014 12:53:29 PM UTC+1, steven smock wrote: >> >> Stephen, >> >> Here is what worked best for me. >> >> Because functionality on the login page is radically different from >> functionality in my SPA views, I opted to just use different pages entirely >> for login, registration, etc. I know this is sort of a non-answer, but it >> eschewed a lot of complexity in my module setup. Also, those pages are >> very small, so SPA's benefits are, to some degree, lessened anyway. >> >> This approach made even more sense in my case, because a great deal of >> the site's functionality depended on a "User" object -- which contained >> permission flags for different views and actions, among other things -- >> which would not be available without an active session. >> >> Best, >> SS >> >> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/9YAkivmip3A/unsubscribe. > To unsubscribe from this group and all its topics, 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. > -- 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.
