AngularJS directive that allows input element's of type file to be handled in models inside a controller's scope
angular-files-model.min.js in your application.
angular-files-model module to your application's dependencies.
Ready to use in your controllers:
If use in angular ui bootstrap modal, you need to handle the scope problem with a parent scope variable.