fix(router): resolve and guards should be able to reject with null and undefined (#19418)

Closes #17148
This commit is contained in:
Victor Savkin
2017-09-28 14:06:08 -04:00
committed by Victor Berchet
parent ff5b050a92
commit a9d32a3f89
5 changed files with 26 additions and 9 deletions

View File

@ -625,7 +625,7 @@ export class Router {
preActivation = new PreActivation(
snapshot, this.routerState.snapshot, moduleInjector,
(evt: Event) => this.triggerEvent(evt));
preActivation.initalize(this.rootContexts);
preActivation.initialize(this.rootContexts);
return {appliedUrl, snapshot};
});