title: href and ng-click in angularjs
body: <p>I have this line at the code:</p>
  
  <pre><code>&lt;a href="/blabla/topQues.html#{{m}}"data-ng-click="$event.preventDefault(); getQues()"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>The function getQues() pars the URL and do somthing, But the getQues() call befre the URL really changed.</p>
  
  <p>What can i do to solve it?</p>