Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How To #45

Open
srameshr opened this issue Dec 1, 2014 · 1 comment
Open

How To #45

srameshr opened this issue Dec 1, 2014 · 1 comment

Comments

@srameshr
Copy link

srameshr commented Dec 1, 2014

<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"

@srameshr
Copy link
Author

srameshr commented Dec 1, 2014

Any answers for this?
Will the dataURI be supported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant