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
window.location.href
or
windown.location
as I have an Angular Single Page app which catches the route and instead of reloading the page opens the partials directly
I did try -
window.location.reload(true)
but it reloads the page and cannot change the url
I have also tried -
window.location.assign
and
window.location.replace
Is there any way to do this?