fix(element_injector): fixed element injector to resolve dependencies of regular services

This commit is contained in:
vsavkin
2015-05-20 10:02:25 -07:00
parent c9ab8e4be8
commit 28c2b8f432
3 changed files with 45 additions and 25 deletions
+4 -1
View File
@@ -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.
*