Hey guys the change of $scope.account = currUser worked. 

What happened was I was setting each individual item like I did above and 
like I mentioned it made the form stale meaning it did not update with 
input changes because I was always grabbing the value initially. When I 
removed that and just assigned the currUser object to the scope account 
object it all worked. 

I switched to value="{{}}" when my original attempt wasnt working because I 
was trying something different.

Thanks for the help

On Wednesday, April 30, 2014 8:47:17 PM UTC-4, Aaron Siladi wrote:
>
> The way to use databind in text field with Angular is to use ng-model="", 
> not value="".  
> Angular does not operate on 'value' attribute, that is why it won't work. 
>    
>
> Also you can more simple your code :
> $scope.account = currUser
>
> Then in form use ng-model="currUser.whatever"
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to