Revert "fix(router): replaceURL when reacting to a change coming from angularjs"
This reverts commit 0b2d636b75
. The commit
does not include proper tests.
This commit is contained in:
parent
f593552cfe
commit
b61e3e9d20
|
@ -81,6 +81,6 @@ export function setUpRouterSync(injector: Injector, $injector: any) {
|
|||
|
||||
$injector.get('$rootScope').$on('$locationChangeStart', (_: any, next: string, __: string) => {
|
||||
url.href = next;
|
||||
router.navigateByUrl(url.pathname + url.search + url.hash, {replaceUrl: true});
|
||||
router.navigateByUrl(url.pathname + url.search + url.hash);
|
||||
});
|
||||
}
|
Loading…
Reference in New Issue