The ngClick directive allows you to specify custom behavior when an element is clicked.
<ng-click ng-click="expression"> ... </ng-click>
<ANY ng-click="expression"> ... </ANY>
Param | Type | Details |
---|---|---|
ngClick | expression | Expression to evaluate upon click. (Event object is available as |
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.5.11/docs/api/ng/directive/ngClick