Hi Cristophe, Its over 2 years ago I wrote it, so I had to take a second look ;)
If I'm not mistaken, it does what you ask. If you look at the plunk, the router does nothing until the 'go' button is clicked. That button is just resolving a promise. You can do anything you fancy in the appController, routing will not start working until you are done in there. (the sample was more geared toward pre-loading assets, as to your use-case, but it is not that far off) Regards Sander -- 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.
