Native file upload handling for AngularJS