We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
DynamicComponentLoader
DebugNode.inject
1 parent a0b5964 commit ee7caceCopy full SHA for ee7cace
2 files changed
modules/angular2/src/core/debug/debug_node.ts
@@ -38,11 +38,6 @@ export class DebugNode {
38
39
get source(): string { return isPresent(this._debugInfo) ? this._debugInfo.source : null; }
40
41
- /**
42
- * Use injector.get(token) instead.
43
- *
44
- * @deprecated
45
- */
46
inject(token: any): any { return this.injector.get(token); }
47
}
48
modules/angular2/src/core/linker/dynamic_component_loader.ts
@@ -10,9 +10,7 @@ import {ComponentRef} from './component_factory';
10
import {ViewContainerRef} from './view_container_ref';
11
12
/**
13
- * Use ComponentResolver and ViewContainerRef directly.
14
15
+ * Service for instantiating a Component and attaching it to a View at a specified location.
16
*/
17
export abstract class DynamicComponentLoader {
18
0 commit comments