-
Notifications
You must be signed in to change notification settings - Fork 5
Compatibility with AngularJS 1.3 (undefined is not a function in defaultHttpResponseTransform
)
#2
Comments
To make it useful for @vojtajina gist visitors, I've posted the above fix there too: https://gist.github.com/vojtajina/3354046#comment-1325030 |
Hi @manikantag , |
I close this issue as there was no response. Feel free to reopen it if needed. |
I reopen the bug as, in fact, there is a bug. |
Your solution works perfectly will release soon to fix it. |
Hi @manikantag |
Oh, thanks. I m struggling to find the scenario where I m getting the issue. In one environment I m not getting, and other I m getting this issue. Any clue in which scenarios this issue is coming? Thanks again. |
Have you checked the Angular version ? |
Hi,
I've similar module in my project. It is working fine until I upgrade to AngularJS 1.3, after which the script is throwing below error:
This could be related to angular/angular.js#2973 (also, report here nervgh/angular-file-upload#272) - not sure though.
Fix for this simple - we need to return
headers
too from thecombinedTplPromise.then
function, like below:Hope this will be useful to someone else.
Let me know if you wanted me to open a pull request.
The text was updated successfully, but these errors were encountered: