title: Angular js trigger routing
body: <p>I have a reset link, which is meant to reset my angular js app...</p>
  
  <pre><code>&lt;a ng-click="resetApp()"&gt;reset&lt;/a&gt;
  </code></pre>
  
  <p>I am handling the button press in the main controller...</p>
  
  <pre><code>$scope.resetApp = function(){
  
      if(confirm("You will lose data...")){
  
        $scope.user.reset();
  
        // not sure how to do this in more angular js way
        window.location = "/#";
  
      }
  
  }
  </code></pre>
  
  <p>I am not sure if setting the <code>window.location</code> as I have done is the right way to do things. It works for me, but does not seem like the correct way, and I have not been able to find out ow to do it online.</p>