What is the difference between ng-click and data-ng-click in angularjs? [Resolved]

Posted by Bathala.Ramesh430 under AngularJS on 2/18/2016 | Points: 10 | Views : 2598 | Status : [Member] | Replies : 1
What is the difference between ng-click and data-ng-click in angularjs?

Thanks & Regards
Ramesh.B



Responses

Posted by: Sheonarayan on: 2/18/2016 [Administrator] HonoraryPlatinum | Points: 50

Up
1
Down

Resolved
No difference. Its matter of preference whether you want to prefix data or directly want to use ng for angularjs.

Read more about this http://techfunda.com/howto/449/directives .

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Bathala.Ramesh430, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response