ng-s3upload
ng-s3upload copied to clipboard
How To
<span
s3-upload bucket="'myBucketName"
ng-model="files.first"
s3-upload-options="{getOptionsUri: 'http://Path/To/Server/'}"
do-upload="true">
</span>
$scope.files ={
first : 'http://scotch.io/wp-content/themes/thirty/img/scotch-logo.png'
}
This is not working. I get name is undefined. Because there is no filename.name parameter for the image being returned.
So can, someone explain, how do I choose a local or a remote path to file url as the value to ng-model ?
Example : ng-model="../images/1.png"
Any answers for this? Will the dataURI be supported?