title: angularjs $anchorScroll sometimes refresh all page
body: <p>I have an app with angularjs routing, but on some view i want to scroll to some specific div and i use anchorScroll but sometimes (not all times) it refresh all page even i stop event propagation.
  Did anyone had this issue?</p>
  
  <pre><code> $scope.redirectTodiv = function(divname,event) {
      event.stopPropagation();  
      event.preventDefault();
  
      $location.hash(divname);
      $anchorScroll();
  
   };
  </code></pre>