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

Is it possible to set a manual path to a file in the Javascript Controller? #316

Open
prawn9189 opened this issue Dec 21, 2016 · 0 comments

Comments

@prawn9189
Copy link

Hey there! I'm fairly new to this amazing library, and I would like to ask a question;
I have an ID scanner for the software that i'm developing. So what happens is, I scan the ID and it auto-populates all the required fields in a Customer creation section, such as name, ID number and so on. For the profile picture part however, i'm using ng-flow to upload my images manually, but if i were to auto populate the image via the ID scanner, how would I do it? the ID scanner stores the ID's image in a local temp folder; "C:\temp\MYKAD-PHOTO.JPG". i've been trying to force this link to the flow obj, but it doesn't work; $scope.customer.obj.flow.files[0] = "C:\temp\MYKAD-PHOTO.JPG";
so yeap, any help here would be gladly appreciated! cheers!

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