I am trying to bind data to an ng-container that is in Angular 4 now. The component loads fine, but when I add [componentData]="testing" I get error
<ng-container *ngComponentOutlet="components.name" [componentData]="testing">
</ng-container>
Error
Error: Template parse errors:
Can't bind to 'componentData' since it isn't a known property of 'ng-container'.
1. If 'componentData' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.
2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("'Textarea' ">
<ng-container *ngComponentOutlet="widget.widgetComponent.component" [ERROR ->][componentData]="testing">
</ng-container>
</div>
Is it true you can't bind data to ngComponentOutlet?