AngularJS module with reusable directives to upload files.