Angular directive: Base64 File Input This is a directive for angular (based on @adonespitogo project). It will process a file input returning a base64 string and details of the file. Install with Bower $ bower install angular angular-base64-file-input --save check the demo