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');
}
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');
}