I am using one $scope.sample variable to receive ng-model from two <input> 
fields. It is working fine. I do this: ng-model="sample.first" and 
ng-model="sample.second".
Then, I tried to remove the first <input> and use a dropdownlist instead. 
The dropdownlist is filled by a different variable $scope.list and the 
ng-model="list". The dropdownlist is filled correctly. However, I need to 
put the selected item from the dropdownlist to the $scope variable 
sample.first. This is not working. How can I do that?

Thank you,

Rafael

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