AngularJS module to upload file on Firebase