Hi Sander, Jorge, thanks for posting this. It works, but the problem is that this promise is resolved inside an Angular service, and it doesn't feel right to have to pass the $scope into here: surely the service should be able to operate without dependency on the scope? I might as well set scope variables directly from the service otherwise, and that definitely doesn't feel right.
What do you think? Regards, Craig On Saturday, 7 December 2013 06:30:04 UTC, Sander Elias wrote: > > Hi Jorge, > > My bet is your resolving the promise outside Angular's digest cycle. > you need to $scope.$apply() the code that's responsible for resolving the > promise, or at least generate an event that will kick in a digest cycle. > If you build an plunk or fiddle I will take a look at it. > > 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/groups/opt_out.
