title: hard refresh of browser page and then redirect to a url using javascript
body: <p>I am trying to reload the page and redirect it to another one, 
  or just redirect it to another one but I can't do that by </p>
  
  <pre><code>window.location.href
  </code></pre>
  
  <p>or </p>
  
  <pre><code>windown.location
  </code></pre>
  
  <p>as I have an Angular Single Page app which catches the route and instead of reloading the page opens the partials directly</p>
  
  <p>I did try - </p>
  
  <pre><code>window.location.reload(true)
  </code></pre>
  
  <p>but it reloads the page and cannot change the url
  I have also tried - </p>
  
  <pre><code>window.location.assign
  </code></pre>
  
  <p>and </p>
  
  <pre><code>window.location.replace
  </code></pre>
  
  <p>Is there any way to do this?</p>