Skip to content

Instantly share code, notes, and snippets.

@nathan-lapinski
Last active November 10, 2018 13:48
Show Gist options
  • Save nathan-lapinski/4a839f8f904036e799bb37533807c45f to your computer and use it in GitHub Desktop.
Save nathan-lapinski/4a839f8f904036e799bb37533807c45f to your computer and use it in GitHub Desktop.
merging a loaded router configuration
return this.configLoader.load(ngModule.injector, route)
.pipe(map((cfg: LoadedRouterConfig) => {
route._loadedConfig = cfg;
return cfg;
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment