Any idea why not:
$location.url(redirectURL,true);
~ OR ~
$location.path(redirectURL).replace(true);
Do not replace navigation history items? Or didn’t I understand what the replacement should do?
Thanks.
Call replacefirst as:
replace
$location.replace(); $location.path("somewhere");
I think this works too:
$location.replace().path("somewhere");