Turns out you can 
http://plnkr.co/edit/pCfUjveB2vtkCCel8hPz?p=preview

You might need to play a bit with `td{padding: ...}` and stuff so that you 
can click anywhere in the td. 

On Friday, March 7, 2014 3:32:09 PM UTC-8, Peter Bengtsson wrote:
>
> Could you do something like:
> <td>
> <label for="checkbox1" style="display:block">
> <input type="checkbox" id="checkbox1" ng-model="checkbox1">
> </label>
> </td>
>
> On Friday, March 7, 2014 2:49:10 PM UTC-8, Aleck Landgraf wrote:
>>
>> I think I know the answer, which is to somehow prevent the click handler 
>> when clicking the actual checkbox, but that seems tough. 
>> This would be useful for allowing people to click a table's cell or row 
>> to select/unselect a checkbox.
>>
>> http://plnkr.co/edit/pvtvOST4EYDDM1qwvWic?p=preview
>>
>> Any thoughts?
>>
>> Thanks,
>> Aleck
>>
>

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