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