Let’s say I have an anchor tag such as

<a href="#" ng-click="do()">Click</a>

How can I prevent the browser from navigating to # in AngularJS ?

28 Answers
28

Leave a Reply

Your email address will not be published. Required fields are marked *