Hi Kingsly, 

The documentation for 
ngClick<http://docs.angularjs.org/api/ng/directive/ngClick>mentions

> Event object is available as $event
>

The documentation for 
ngChange<http://docs.angularjs.org/api/ng/directive/ngChange>does not mention 
that the event object is available.

That explains the behaviour that you are seeing.

On Wednesday, March 12, 2014 7:18:29 PM UTC+2, Kingsly Azariah wrote:
>
>
>
> I have 3 three checkbox on ng-change/ng-click the $event is passed as 
> parameter, $event is undefined during ng-change event but it works fine for 
> ng-click.
>
> Code is the below URL
> http://jsfiddle.net/kingsly/cv5Gp/12/
> first checkbox has ng-change 
> next two checkbox ng-click
>
>
>
>
>

-- 
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 angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to