Angular directive for uploading base64-encoded files that you can pass along with the resource model.