Angular and Rails API - presigned URLs for S3 image uploading