How do you upload files in your ionic app?

I know, it’s kinda unusual question, but I think, that $cordovaFileTransfer corrupts the binary response.
So, what other ways (if there are such) do you use, to make a multipart POST request (upload pictures) and work with the response?
Do you use $
I am kinda beginner with all the javascript stuff, so I would like, if you post some code snippets, that demonstrate the way you use.
Thank you in advance.

you can use post … just encode the file to base64 … send the base64 to your server and decode it back