Hi, 

I have issues regarding ng-model inside ng-repeat: 


controller :

record_temp =  [ { id:'temp1', val: 25 } ,{ id:'temp2', val: 50 } ];


view : 

<tbody ng-repeat="temp in record_temp">
  <tr>
  <td> {{temp.id}} </td>

  <td> <input type="range" min=0 max="100" step=0.5 value=1 
ng-model="temp.val" > {{temp.val}} </td>
  </tr>
 </tbody>

 At the end I want to have a slider to change the value of each record 
element , 

 Any idea of how I can watch the changes of each  record_temp[i].val inside 
the controller  ?

Thanks,

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