Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228603

Handling events

$
0
0

@ameni

ng-click directive is used in angularjs to handle click event
try like this in your template

<div ng-click = "click_me()">

</div>

and In Controller handle this click event

$scope.click_me = function(){

alert('Hello');

}

Viewing all articles
Browse latest Browse all 228603

Trending Articles