Ng Ng Click
# AngularJS `ng-click` Directive
[ AngularJS Reference](#)
* * *
## AngularJS Example
Each time the button is clicked, the count variable automatically increments by 1:
[Try it Β»](#)
* * *
## Definition and Usage
The **ng-click** directive tells AngularJS what operation to perform when an HTML element is clicked.
* * *
## Syntax
All HTML elements are supported.
* * *
## Parameter Values
| Value | Description |
| --- | --- |
| _expression_ | The expression to execute when the element is clicked. |
* * AngularJS Reference](#)
YouTip