I'm using AngularJS to interact with a RESTful webservice, using Restangular to abstract the various entities exposed. Some of this entities are images or files, so I need to be able to use the post action of Restangular to send both binary data and text fields within the same request.
How can I use Restangular to send data with uploaded images or files, to a restful webservice in a single POST request?