ng-click allows you to specify a custom behaviour when user clicks on the element. It is similar to a traditional html onclick event. See following ng-click example for more details.

ng-click example:

<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script>
</head>
<body>
<b>Note:</b> Click on Button to see the ng-click example output .<br><br>
<b>Note:</b> Pre/Post Incrementation/Decrementation will not work in angular js  
directives.<br><br>
<div ng-app="" ng-init="count=0">
<button value="increment" ng-click="count=count+1">increment</button><br>
<button value="decrement" ng-click="count=count-1">decrement</button>
<br>
  count is :{{ count }}
</div>
</body>
</html>