But when i use $q functions like then, all, when returned promise has no success and error methods, because of internally $q closures old defer function implementation and uses non-decorated code for constructing defer objects.
The text was updated successfully, but these errors were encountered:
I want to decorate $q defer promise. Here is some code:
All is ok in simple case:
But when i use $q functions like then, all, when returned promise has no success and error methods, because of internally $q closures old defer function implementation and uses non-decorated code for constructing defer objects.
The text was updated successfully, but these errors were encountered: