AngularJS

AngularJS Tutorials

AngularJS Directives

AngularJS Filters and Elements

AngularJS ng click Directive

AngularJS ng-click Directive

 

 

The ng-click directive tells AngularJS what to do when an HTML element is clicked.

 

Syntax:-

 

< element ng-click="expression" >< /element >

 

Further Explanation:-

 

Value Description
expression An expression to execute when an element is clicked.

Code Explanation

All Tutorials related to AngularJS Directives

All Sections related to AngularJS