Created
March 20, 2018 06:19
-
-
Save alexzuza/608d56c6fa6fc636eb56c0fd495768a9 to your computer and use it in GitHub Desktop.
DI router dynamic creation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const injector = new OutletInjector(activatedRoute, childContexts, this.location.injector); | |
this.activated = this.location.createComponent(factory, this.location.length, injector); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment