Angular.js directive that allows input element's of type file to be handled in models inside a controller's scope