Hey Raoul Having the exact same problem here... A dozen of routes and userdata to resolve... Have you found a solution yet?
Am Dienstag, 5. August 2014 19:30:33 UTC+2 schrieb Raoul Jaeckel: > > Hi guys, > > for me this is still an open issue. I want to initialize the application > with data about the current user which comes from the server. Using the > $routeProvider to resolve the promise is not sexiest way when you have a > dozen of routes. > > I would like to use the run-function to bootstrap the app, but then > there's the problem with promises and async calls. > > I didn't any find a nice solution yet. What about you? Are you still doing > it by resolving promises in the $routeProvider? > -- 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.
