Handle response headers after cordovaFileTransfer


#1

I use cordovaFileTransfer for image upload in my ionic app. Also i use ng-token-auth for authorization. It exchanging tokens with devise through headers. Problem is that ng-token-auth intercepting http service where tokens are updated, however cordova does not use http service.

So how is possible to handle reponse after file upload to update tokens that are in headers.