Hi I have drop down in my ng-repeat
<div ng-repeat="a in items" >
<select ng-model=a.id ng-options= "c.id as c.name for c for allitems" ng-init="a.age=c.age"></select>
<input ng-model="a.age" />
</div>
When ng-repeat runs it populates all vavlues properly including dropdown options. Problem is if i change the drop down value in any of the row it doesnt update the a.age which is also one of the fields of allitems in drop down.
Please let me know when in dropdown a different option is selected how it can update a.age value to the corrosponding c.age Thanks
ng-init=a.age="c.age}"
– bengoesboom Jul 25 '14 at 0:42