I have this plunker. I am creating form components dynamically, based on model
(defined in app.ts
), and cannot add
formControlName = "name"
to the component. In the control-factory.directive.ts
I add
this.form.addControl(this.model.name, new FormControl());
,
but how can I bind the value?