asafdav / ng-s3upload

Upload to S3 using AngularJS
MIT License
190 stars 83 forks source link

Allow placeholders in targetFilename #75

Open steven10172 opened 8 years ago

steven10172 commented 8 years ago

When passing a name through targetFilename it might be helpful to append the correct file extension or use some other placeholders. I'll attach a PR with an example.

Examples: %uploader.folder%file01%file.ext% %uploader.folder%%file.date%%file.name%%file.ext%