docs(linker): document the injector argument as mandatory (#9098)

Fixes #8600
This commit is contained in:
Pawel Kozlowski 2016-06-10 01:03:42 +02:00 committed by Victor Berchet
parent b34a04d53a
commit 0c9e8dbf60
1 changed files with 1 additions and 2 deletions

View File

@ -21,8 +21,7 @@ export abstract class DynamicComponentLoader {
* *
* If needed, the component's selector can be overridden via `overrideSelector`. * If needed, the component's selector can be overridden via `overrideSelector`.
* *
* You can optionally provide `injector` and this {@link Injector} will be used to instantiate the * A provided {@link Injector} will be used to instantiate the Component.
* Component.
* *
* To be notified when this Component instance is destroyed, you can also optionally provide * To be notified when this Component instance is destroyed, you can also optionally provide
* `onDispose` callback. * `onDispose` callback.