angular-promise Questions
1
Solved
I get the basic idea of the infinite digest loop and how it happens, but I'm running into the problem. Here is a fiddle demonstrating my code and problem:
http://jsfiddle.net/eS5e5/1/
In the jsfi...
Outpatient asked 9/7, 2014 at 9:48
1
Solved
I want to return promises from my module/sdk to non-angular javascript. For example if I'm returning promise to a jquery, I should be probably sending jquery deferred object. How can I convert an A...
Angelicangelica asked 7/7, 2014 at 12:53
2
I am getting this error in the console $q is not defined. When I did some research I found some thing like .q library has been deprecated from
http://www.breezejs.com/documentation/breeze-labs/bre...
Bouchier asked 13/3, 2014 at 13:11
2
Solved
I want to use $q.when() to wrap some non-promise callbacks. But, I can't figure out how to resolve the promise from within the callback. What do I do inside the anonymous function to force $q.when(...
Burt asked 3/9, 2013 at 21:50
2
Solved
The $q service is very powerful in angularjs and make our life easier with asynchronous code.
I am new to angular but using deferred API is not very new to me. I must say that I completely ok wit...
Flyaway asked 29/4, 2014 at 11:11
3
Solved
I'm experiencing a weird bug on IE8 while trying to catch a promise reject (promise returned by a basic ngResource call) :
This code work with .then(success, fail) syntax :
promise.then(function(...
Seymourseys asked 16/4, 2014 at 9:20
1
Solved
I have a Promise. I created it to cancel an AJAX request if needed. But since I don't need to cancel that AJAX, I've never resolved it and AJAX completed successfully.
A simplified snippet:
var d...
Leanaleanard asked 19/11, 2013 at 10:3
1
Solved
Is there a way to emulate jquery 'complete' callback with angular $http module? I have some code I would like to execute no matter whether the request succeeded or failed and at the moment I find m...
Marleen asked 9/8, 2013 at 10:2
3
Solved
AngularJS docs say:
$q promises are recognized by the templating engine in angular, which means that in templates you can treat promises attached to a scope as if they were the resulting values....
Lettie asked 29/12, 2012 at 8:44
© 2022 - 2024 — McMap. All rights reserved.