AngularJs ng-click event example : AngularJs ng-click binds click event with elements in html.
Syntax : AngularJs ng-click event
The below example shows the ng-click event directive.
Example
<div ng-app="" ng-init="i=1"> <button ng-click="i = i+1">Click Me</button> Counter = {{i}} </div> |