-
Notifications
You must be signed in to change notification settings - Fork 119
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
Model not updating in controller #51
Comments
It's |
I fixed that but $scope.attachment is still undefined after I do a file upload |
Can you post your code and angular version? |
Angular is 1.3.6 In my controller all I have is.
|
Take a look at this plunkr code and see what's missing in your code. |
The only thing different I see is that i'm loading my controller from my module with stateprovider.
|
Are you triggering |
No, i was just seeing what the value of the attachment, I don't need to use fileChanged if it will update the scope variable. |
Also validation is not firing for me either. |
Hi @dracostheblack , @adonespitogo |
What is the solution? |
I have an issue where in my view i have
For one I have fileChanged defined in the controller and everytime I add a file that function comes up as undefined.
For two I have a div with {{attachment}} this is showing up correctly for when I add the file, but when I go to use that file in another function $scope.attachment, it's coming up as undefined.
Any help would be appreciated.
Sean
The text was updated successfully, but these errors were encountered: