Join the Stack Overflow Community
Stack Overflow is a community of 6.3 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

Hi I am trying to upload image with the rest of the form data in ionic angular.js for my mobile application. I am using ngCordova plugin. But didnt find any document for this procees.

Example: I have registration form in this form has to enter his details and upload profile image. But as the example i cant send all data to the server in one request.

Thanks

share|improve this question

Try to use $cordovaFileTransfer for this. The specific implementation is described here : Upload image to server angularjs

You can either upload an image from the local storage or an image taken with the camera plugin.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.