An AngularJS Service for uploading files using iframe