title: How to Encode an <input file> to base64 in AngularJs?
body: <p>I need to save an image into Drupal, through the drupal service/file. For what i understand i need to decode the file into a base64 and send this as a payload for the service/file. How can i get to encode the  in order to do this???? I want to do this in javascript.</p>