I'd like to just create a clickable icon in angularjs. It works so far, but the link element changes the location of the page, which it should not.
<a ng-href="#" ng-click="callbackMethod()" target="_self" class="icon" title="test">
<span class="glyphicon glyphicon-print"></span>
</a>
Question: how can I prevent the location change? Or is an <a> tag not the correct element here?