Top "Angular-promise" questions

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

$q.all and nested promises

Have a question about synchronizing nested promises when using $q in Angular. Will the following code ensure that the entire …

angularjs q angular-promise
How do I use Bluebird with Angular?

I tried using Angular with Bluebird promises: HTML: <body ng-app="HelloApp"> <div ng-controller="HomeController">{{name}} {{also}}&…

javascript angularjs promise bluebird angular-promise
Javascript: How to iterate on array using promises?

LIVE DEMO Given the following function: function isGood(number) { var defer = $q.defer(); $timeout(function() { if (<some condition on …

javascript angularjs promise q angular-promise
Angular $q .catch() method fails in IE8

I'm experiencing a weird bug on IE8 while trying to catch a promise reject (promise returned by a basic ngResource …

angularjs internet-explorer internet-explorer-8 promise angular-promise
Create an AngularJS promise with no return value

I am using $q to wrap a promise around a legacy callback. However, the existing callback doesn't have a value …

javascript angularjs angular-promise
finally block in angular 2 promise

I observe that In angular 2 there is no finally block for promise API angular 1 : loadUsers() { fetch('/api/users').then((…

javascript angular angular-promise
Waiting for $rootScope value to resolve in Angular before page load

So I'm running into this problem where I'm using ngView and I have a navigation bar that is static throughout …

javascript angularjs angular-promise
Reading data from JSON file in Angularjs using a Promise

I have a factory which provides me a promise when getting a json file : myapp.factory('topAuthorsFactory', function($http, $q) { …

angularjs promise angularjs-controller angular-promise angularjs-factory
How to return single promise after for loop (which produces a promise on every iteration) is complete?

I have a problem with my promise return code, I have a function getTagQuotes which contains a for loop which …

javascript angularjs for-loop promise angular-promise
What is the difference between $promise and $q promises in angular1.x?

I started using promises in angular for resolving my api calls with the following syntax: $scope.module = moduleFactory.get({id: $…

angularjs promise angular-promise angular-resource