From b61e3e9d203f5e4a413680f49d2181a4d382ed4b Mon Sep 17 00:00:00 2001 From: Alex Rickabaugh Date: Wed, 20 Dec 2017 09:14:27 -0800 Subject: [PATCH] Revert "fix(router): replaceURL when reacting to a change coming from angularjs" This reverts commit 0b2d636b75d69e17bff2eb875181a2a6242e1abb. The commit does not include proper tests. --- packages/router/upgrade/src/upgrade.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/router/upgrade/src/upgrade.ts b/packages/router/upgrade/src/upgrade.ts index 5bcfa566b8..40e399e6b0 100644 --- a/packages/router/upgrade/src/upgrade.ts +++ b/packages/router/upgrade/src/upgrade.ts @@ -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); }); } \ No newline at end of file