Thanks for all the responses. Both Peter's and Sander's solutions work 
great! 
I couldn't find any doc page for `$event` other than ngClick says it's 
available. The `$event.stopPropagation()` (I think the equivalent of 
jQuery's `preventDefault`) should also work for moving the `ngClick` from 
the `td` to the `tr`.

Thanks much,
Aleck

On Friday, March 7, 2014 7:48:10 PM UTC-8, Sander Elias wrote:
>
> Hi Aleck,
>
> You are right, what happens if that if you click on the checkbox, the 
> event bubbles into your clickhandler, and it fires too.
> so basically you set, and inverse your setting in 1 click. For the user 
> it's just like nothing happened.
>
> it is not that comples to prevent this: 
> http://plnkr.co/edit/mPQyRog52exn7rUdLHPH?p=preview
>
> Regards
> Sander
>

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