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:
Alex Rickabaugh 2017-12-20 09:14:27 -08:00
parent f593552cfe
commit b61e3e9d20
1 changed files with 1 additions and 1 deletions

View File

@ -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);
});
}