I use this method to Dynamically add a Component in RC5:
@ViewChild('wrapper', {read: ViewContainerRef}) wrapperRef: ViewContainerRef;
constructor(
private _comp: Compiler
) {}
ngOnInit() {
this._comp.compileComponentAsync(this.childComp).then(a => {
this.wrapperRef.createComponent(a, 0);
});
}
But i'm not sure how to add input values to the created component.