title: AngularJS change url with $location
body: <p>I'm trying to change the URL with AngularJS,
  but not with a redirect, just change the URL 
  after an event.</p>
  
  <p>What I need is this:</p>
  
  <p><code>www.myurl.com/inbox/1</code> to this <code>www.myurl.com/inbox/25</code></p>
  
  <p>In other words, just change the last Id.</p>
  
  <p>I'm trying to do this:</p>
  
  <p><code>$location.path('/inbox/'+id);</code></p>
  
  <p>But what I'm getting is this:</p>
  
  <p><code>www.myurl.com/inbox/1#/inbox/25</code></p>