title: $rootScope.path('/') not working
body: <p>i have a register() function shown below.</p>
  
  <pre><code>&lt;form class="form-auth" ng-submit="register()"&gt;
  </code></pre>
  
  <p>I have defined it as follows</p>
  
  <pre><code>$scope.register = function(){
  $http.post('/auth/signup', $scope.user).success(function(data){
    $rootScope.authenticated = true;
    $rootScope.current_user = data.user.username;
    $rootScope.path('!/');
  });
  </code></pre>
  
  <p>};</p>
  
  <p>The problem is the last line:</p>
  
  <pre><code>$rootScope.path('!/');
  </code></pre>
  
  <p>it doesn't take me to the path i direct it to. i have tried several variations, ('/') and (#!/) but none seem to work.</p>