style(ngUpgrade): small cleanup

This commit is contained in:
Igor Minar 2016-08-03 17:43:00 -07:00 committed by Misko Hevery
parent 6b564ecda5
commit 85e70a4cde
1 changed files with 1 additions and 2 deletions

View File

@ -560,7 +560,6 @@ function ng1ComponentDirective(info: ComponentInfo, idPrefix: string): Function
if (!componentFactory)
throw new Error('Expecting ComponentFactory for: ' + info.selector);
var domElement = <any>element[0];
if (parentInjector === null) {
parentInjector = ng1Injector.get(NG2_INJECTOR);
}
@ -580,7 +579,7 @@ function ng1ComponentDirective(info: ComponentInfo, idPrefix: string): Function
}
/**
* Use `UgradeAdapterRef` to control a hybrid AngularJS v1 / Angular v2 application.
* Use `UpgradeAdapterRef` to control a hybrid AngularJS v1 / Angular v2 application.
*
* @experimental
*/