Closed debuggingfuture closed 10 years ago
I love Q and wish that Angular would allow you to plug in full Q the same way you can plug in full JQuery. Unfortunately the primary benefit of $q is that its integrated with Angular scopes. In order to support Q, I have to wrap a Q promise in a $q promise so that the appropriate scope will be refreshed. But at least thats now transparent to you.
Big thanks work like a charm! Btw you committed to gh page not master? Le 11 mai 2014 01:54, "Chris Gross" notifications@github.com a écrit :
I love Q and wish that Angular would allow you to plug in full Q the same way you can plug in full JQuery. Unfortunately the primary benefit of $q is that its integrated with Angular scopes. In order to support Q, I have to wrap a Q promise in a $q promise so that the appropriate scope will be refreshed. But at least thats now transparent to you.
— Reply to this email directly or view it on GitHubhttps://github.com/cgross/angular-busy/issues/24#issuecomment-42749186 .
Doh! Merged to master. Thanks for mentioning that. I didn't realize I was on gh-pages when I did all the work!
Q is quite a popular library on promise. I find it easier to code angular with promises wrapped into Q. Angular-busy support .then in general, however seems if that is Q promise it is not supported.
Now I would need to use a workaround to wrap Q back into $q promise