feat(di): Mark objects @Injectable
Allow `PrivateComponentLoader`, `Testability`, and `TestabilityRegistry` to be injected.
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import {Compiler} from './compiler';
|
||||
import {ShadowDomStrategy} from './shadow_dom_strategy';
|
||||
import {Injectable} from 'angular2/di';
|
||||
import {EventManager} from 'angular2/src/render/dom/events/event_manager';
|
||||
import {DirectiveMetadataReader} from 'angular2/src/core/compiler/directive_metadata_reader';
|
||||
import {Component} from 'angular2/src/core/annotations/annotations';
|
||||
@ -7,6 +8,7 @@ import {PrivateComponentLocation} from './private_component_location';
|
||||
import {Type, stringify, BaseException} from 'angular2/src/facade/lang';
|
||||
|
||||
|
||||
@Injectable()
|
||||
export class PrivateComponentLoader {
|
||||
compiler:Compiler;
|
||||
shadowDomStrategy:ShadowDomStrategy;
|
||||
|
Reference in New Issue
Block a user