diff --git a/modules/angular2/src/router/router.ts b/modules/angular2/src/router/router.ts index 305c4b750d31..dfe3e7b98c4f 100644 --- a/modules/angular2/src/router/router.ts +++ b/modules/angular2/src/router/router.ts @@ -431,7 +431,11 @@ export class RootRouter extends Router { this.recognize(change['url']) .then((instruction) => { this.navigateByInstruction(instruction, isPresent(change['pop'])) - .then((_) => { + .then((result) => { + if (result == false) { + // Instruction was not recognized. + return; + } // this is a popstate event; no need to change the URL if (isPresent(change['pop']) && change['type'] != 'hashchange') { return;