Suppose I have a table like this:
<tbody>
<tr data-ng-repeat="object in objects">
<td><input type="checkbox" value="{{object.id}}" data-ng-checked="object.checked" data-ng-mode="object.checked"/></td>
<td>{{object.name}}</td>
<td><a href="#" class="btn btn-default" data-ng-click="objectEdit()">Edit</a> <a href="#" class="btn btn-default">View</a></td>
</tr>
</tbody>
What is the right way to have objectEdit
notified which entry in objects
is being referenced here?
Sorry, AngularJS newb.