I have have service table in database with 5 rows and I'm displaying it through ng-repeat. I want to select only one checkbox value
<tbody>
<tr data-ng-repeat="serviceTable in dataTable ">
<td> {{ serviceTable.serviceId }} </td>
<td> {{ serviceTable.serviceName }} </td>
<td> {{ serviceTable. amount }} </td>
<td><input type="checkbox" ng-model="?????"></td>
</tr>
</tbody>
How do I bind only one value in ng-model???
Aucun commentaire:
Enregistrer un commentaire