Top "Angular-promise" questions

Angular's $q promises provide a powerful abstraction over flow control.

AngularJS - Promises rethrow caught exceptions

In the following code, an exception is caught by the catch function of the $q promise: // Fiddle - http://jsfiddle.…

javascript angularjs promise angular-promise
Stop request in angularjs interceptor

How can I stop a request in Angularjs interceptor. Is there any way to do that? I tried using promises …

angularjs angularjs-service angular-promise
Promise chaining when using $timeout

I'm trying to understand the promise API and chaining, particularly the timing when $timeoutis used with .then(). What I had …

angularjs angular-promise
solving $rootScope:infdig Infinite $digest Loop

I get the basic idea of the infinite digest loop and how it happens, but I'm running into the problem. …

javascript angularjs q angular-promise
AngularJS + $q, Do something after multiple ajax calls have finished

I need to load some data on page load and then do execute a task. in order to get the …

javascript ajax angularjs angular-promise
use $http.get in a service/factory to return a collection

I try to use a http.get promise in an angularjs service, do some manipulation on the obtained collection and …

javascript angularjs angular-promise angularjs-factory angularjs-http
Angular - Is .finally() Called At the End of Every Path in a Chained Promise Decision Tree?

I have the following chained sequence of promises: $scope.promisesInProgress = true myService.myFirstPromise(id) .then(function(data){ $scope.firstResponse = data; …

angularjs angular-promise
angularjs handling $resource $promise errors

Could somebody help me figure out how to return hard-coded data in my AngularJS factory if there is an error …

javascript angularjs angular-resource angular-promise
$q promise error callback chains

In the following code snippet error 1 and success 2 will be logged. How can I can I propagate error callbacks being …

angularjs angular-promise chain
Caching a promise object in AngularJS service

I want to implement a dynamic loading of a static resource in AngularJS using Promises. The problem: I have couple …

javascript angularjs promise angular-promise