SyntaxFix
Write A Post
Hire A Developer
Questions
You can pass the $event object to your method, and call $event.preventDefault() on it, so that the default processing will not occur:
$event.preventDefault()
<a href="#" ng-click="do($event)">Click</a> // then in your controller.do($event) method $event.preventDefault()