You should pass $event
parameter to onclick function and execute e.preventDefault()
method;
<a ng-click="clickHandler($event)" href="/home" >home</a>
and in controller:
$scope.clickHandler = function(e){
e.preventDefault();
}
Example: