angular.directive.ng:click

Work in Progress This page is currently being revised. It might be incomplete or contain inaccuracies.

Description

The ng:click allows you to specify custom behavior when element is clicked.

Dependencies

Usage

<ANY ng:click="expression">
   ...
</ANY>

Parameters

Example

<button ng:click="count = count + 1" ng:init="count=0"> Increment </button> count: {{count}}