title: AngularJS redirect to home page after login not working
body: <p>My application is with spring + angularJS and after authentication from controller i am not able to redirect to home page.</p>
  
  <pre><code>console.log("id:"+employee.id);     
  
  alert("Trying to redirect to home page");
  $location.path("/home/"+employee.id);
  </code></pre>
  
  <p>When this gets executed <a href="http://localhost:9393/login#/home/21" rel="nofollow">http://localhost:9393/login#/home/21</a> is being redirected in the url but i want  <a href="http://localhost:9393/home/21" rel="nofollow">http://localhost:9393/home/21</a> (without /login#)</p>