I have a simple table in an Angularjs app that contains a checkbox in each row.
<table>
<tr ng-repeat="obj in objList">
<td>
<input type="checkbox" ng-model="selectedObjs" value="{{obj}}"
ng-checked="obj.selected"
ng-click="toggleObjSelection(obj.description)">
{{obj.description}}
</input>
</td>
</tr>
</table>
Is there a way in Angularjs to allow the user to click any where within the row to trigger the checkbox click once?
If the user clicks in the checkbox, we don't want to trigger the click so that it appears that the checkbox click was triggered twice.
This article (http://www.learningjquery.com/2008/12/quick-tip-click-table-row-to-trigger-a-checkbox-click/) describes how to do this in jQuery, but is there a way to do this using Angularjs style?