fix(element_injector): fixed element injector to resolve dependencies of regular services
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {CONST} from 'angular2/src/facade/lang';
|
||||
import {CONST, CONST_EXPR} from 'angular2/src/facade/lang';
|
||||
import {DependencyAnnotation} from 'angular2/src/di/annotations_impl';
|
||||
|
||||
export class Visibility extends DependencyAnnotation {
|
||||
@@ -61,6 +61,9 @@ export class Self extends Visibility {
|
||||
}
|
||||
}
|
||||
|
||||
// make constants after switching to ts2dart
|
||||
export var self = new Self();
|
||||
|
||||
/**
|
||||
* Specifies that an injector should retrieve a dependency from the direct parent.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user