Hi Sander Not sure to understand. This plunk <http://plnkr.co/edit/AAtnMpeQ3Yk3Wi8QSZh1?p=preview> is working. The new Router RedirectTo page/2 because in service.js I have service.homePage = 2
What I want to do is to use service.js as a promise which return service.home page through SharedData.then(function(service) as on this not working plunk <http://plnkr.co/edit/8WJ8g7GeWdTsOy3UQOsy?p=preview> Such promise are working in http://plnkr.co/edit/ZsFjr3UWnn3DnjD6Ad5O?p=preview like you already explain Regards Greg -- 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.
