Ah, thanks so much. I thought that return $q.reject(reason); was equivalent to creating a new promise.
I'll give your solution a go. Thanks again, Doug On Wednesday, April 23, 2014 12:37:51 PM UTC+10, Sander Elias wrote: > > Hi Douglas, > > You can't resolve or reject a promise more than once. To be a bit more > precise, you can't change the outcome of a promise. > In your sample, you are currying 1 promise from Cservice right back to the > controller. This means that your controller only sees that promise. > in this sample <http://jsbin.com/povemabu/1/edit> I upgraded BService to > produce the outcome you asked for. > > With kind 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.
