During Bootstrapping after html page has been loaded a main module is loading and running. While running it gets tokens for authentication. When main menu becomes available I can click on it, load another module, and get data that is protected by tokens. At this time browser address bar changes to: main.html/item. But if at this point I refresh it by hitting F5 I get an error because a token is not available yet. Obviously, module 2 runs before the main module. Is there a way of running modules always in the initial order?
Thanks
--
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/gOrlOKs6FFk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.