Hi there,

i got a table with ngReapet.
It is possible to Update each Model from the Collection.
If one Item is updatet then a Save Button should Appear.

But how can i track Changes directly to a Model ?

<tr ng-repeat="expert in experts">
     <td>{{expert.expertName}}</td>
     <td style="border-right: 0px !important">
      <span ng-hide="editMode">{{expert.mail}}</span>
      <input class="width100 form-control" type="text" ng-show="editMode" 
ng-model="expert.mail" />
     </td>
     <td style="border-left: 0px !important">
      <button class="btn btn-danger" ng-click="editMode = !editMode"><div 
class="icon-edit"></div></button>
     </td>
     <td>
      <input class="width100" type="checkbox" ng-model="expert.locked"/>
     </td>
     <td class="width100">
      <input type="button" class="btn btn-primary" ng-disabled="" 
value="@FEResources.UI_ExpertAdmin_Save" ng-click="confirmSave(expert)" />
      <input type="button" class="btn btn-default" 
value="@FEResources.UI_ExpertAdmin_GeneratePassword" ng-click="" />
     </td>
    </tr>



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