You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a temporary workaround until 1.2 is released, I did the following...
module.config(['restmodProvider',function(restmodProvider){restmodProvider.rebase('AsPromisePatch');}]).factory('AsPromisePatch',['restmod','$q',function(restmod,$q){returnrestmod.mixin(function(){// decorate `$asPromise` to run the result through `$q.when`this.define('Resource.$asPromise',function(){return$q.when(this.$super());});});}]);
It has then() and finally(), but no catch().
The text was updated successfully, but these errors were encountered: