fix(di): changed host and view injector to respect visibility

This commit is contained in:
vsavkin
2015-05-21 08:35:32 -07:00
parent f210c41c1f
commit 705ee46f31
3 changed files with 53 additions and 17 deletions

View File

@ -492,5 +492,5 @@ function _extractToken(typeOrFunc, annotations) {
}
function _createDependency(token, asPromise, lazy, optional, depProps): Dependency {
return new Dependency(Key.get(token), asPromise, lazy, optional, depProps);
return new Dependency(Key.get(resolveForwardRef(token)), asPromise, lazy, optional, depProps);
}