title: Is there a way to prevent scrolling up using ng-click in the view?
body: <p>When I click in a link my page scrolls up, I know if I handle this inside the controller I can put an <code>event.preventDefault()</code> there, but I don't want this on controller.</p>
  
  <p>Is there a way to handle this in my view?</p>
  
  <pre><code>        &lt;li ng-hide="showMore"&gt;
              &lt;a href="#" ng-click="showMore=!showMore"&gt;
                  &lt;span class="fa fa-plus-circle"&gt;&lt;/span&gt; &lt;br&gt;
                  Mais 
              &lt;/a&gt;
          &lt;/li&gt;
          &lt;li ng-class="{'active':showMore}" ng-show="showMore"&gt;
              &lt;a href="#" ng-click="showMore=!showMore"&gt;
                  &lt;span class="fa fa-minus-circle"&gt;&lt;/span&gt; &lt;br&gt;
                  Menos 
              &lt;/a&gt;
          &lt;/li&gt;
  </code></pre>