Skip to content

Instantly share code, notes, and snippets.

@alexzuza
Created March 19, 2018 19:46
Show Gist options
  • Save alexzuza/f73c216e2c96d57d653661273e5af64b to your computer and use it in GitHub Desktop.
Save alexzuza/f73c216e2c96d57d653661273e5af64b to your computer and use it in GitHub Desktop.
DI merge injector
@Directive({
selector: '[someDir]'
}
export class SomeDirective {
constructor(private injector: Injector) {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment