Multiple chained deferred functions using q in AngularJS stop returning data
Excerpt taken from the official doc on $q: then(successCallback, errorCallback) – regardless of when the promise was or will be resolved or rejected calls one of the success or error callbacks asynchronously as soon as the result is available. The callbacks are called with a single argument the result or rejection reason. This method returns … Read more