Top "Angular-promise" questions

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

Make angular.forEach wait for promise after going to next object

I have a list of objects. The objects are passed to a deferred function. I want to call the function …

javascript angularjs foreach promise angular-promise
Possibly unhandled rejection in Angular 1.6

I have a code with AngularJS: service.doSomething() .then(function(result) { //do something with the result }); In AngularJS 1.5.9 when I …

javascript angularjs angular-promise angular-providers angularjs-1.6
What happens with $q.all() when some calls work and others fail?

What happens with $q.all() when some calls work and others fail? I have the following code: var entityIdColumn = $scope.…

javascript angularjs angular-promise
AngularJS : returning data from service to controller

I am trying to create a service to get json and pass it to me homeCtrl I can get the …

angularjs angularjs-service angular-promise angularjs-factory angularjs-http
Get state of Angular deferred?

With jQuery deferreds I'm used to be able to check the current state like this: var defer = $.Deferred(); defer.state(); //…

jquery angularjs promise angular-promise
Angular2 Observable - Await multiple function calls before proceeding

I am trying to improve my knowledge of Angular2 by migrating an application currently written in Angular1/AngularJS. One feature …

javascript angular observable angular-promise
Convert promise in JSON object

I have a problem converting the promise returned by the service to the controller. What I want is to create …

javascript angularjs json angular-promise
How do I sequentially chain promises with angularjs $q?

In the promise library Q, you can do the following to sequentially chain promises: var items = ['one', 'two', 'three']; var …

angularjs q chaining sequential angular-promise
How to handle error in angular-ui-router's resolve

I am using angular-ui-router's resolve to get data from server before moving to a state. Sometimes the request to the …

angularjs angular-ui-router angular-promise
AngularJs console.log "$q is not defined"

I am getting this error in the console $q is not defined. When I did some research I found some …

angularjs breeze promise angular-promise