AngularJS Directive that uploads files through iFrame