title: skiplocationchange browser backward issue. How to redirect to correct path
body: <p>I am using Stack Overflow to explore my knowledge. Yesterday while checking Angular questions I came across something called <code>skiplocationchange</code>.
  I checked it and got that it is used to hide routes from URL.</p>
  
  <p>I want to know how can I go back to previous route when click on browser's back button (this is same question asked in SO yesterday).</p>
  
  <p>I have tried by pushing state to window.history but by doing this this starts showing full route in URL.</p>
  
  <ol>
  <li><p>Is there is a way to do this</p></li>
  <li><p>If not than what can be other way to hide route from url and while doing browser back button everything works fine</p></li>
  </ol>
  
  <p>Below is reference link:</p>
  
  <p><a href="https://stackblitz.com/edit/angular-route-ex-w39hfp" rel="nofollow noreferrer">https://stackblitz.com/edit/angular-route-ex-w39hfp</a></p>
  
  <p>Desired scenerio</p>
  
  <p>1) home->course->angular</p>
  
  <p>If now browser's back button is clicked than it should redirect to course route but this is not happening and it goes back to origin state </p>