diff --git a/modules/@angular/core/src/view/view.ts b/modules/@angular/core/src/view/view.ts index 4c6815c9a8..1a9f35edfe 100644 --- a/modules/@angular/core/src/view/view.ts +++ b/modules/@angular/core/src/view/view.ts @@ -314,7 +314,7 @@ function createViewNodes(view: ViewData) { nodeData = {instance}; if (nodeDef.flags & NodeFlags.IsComponent) { const compView = asElementData(view, nodeDef.parent.index).componentView; - initView(componentView, instance, instance); + initView(compView, instance, instance); } break; }