A super simple AngularJS directive with encodes images to data url's using a input[type=file] element