Justin thanks for the response. I think what I was looking for is in the
documentation of Q
https://github.com/kriskowal/q
where it specifies the different return types of the handler and how it
affects the chain
var outputPromise = getInputPromise().then(function (input) {}, function
(reason) {});
If you return a *promise* in a handler, outputPromise will “become” that
promise. Being able to become a new promise is useful for managing delays,
combining results, or recovering from errors.
--
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.