Upload to S3 using AngularJS