I have a component which loads using DCL. I want to add the control group to parent form.I have made a plunker demo . I dont know how to bind the child control group to parent.
add() {
this._dcl.loadIntoLocation(DynamicCmp, this._e, 'location').then((ref) => {
ref.instance._ref = ref;
ref.instance._idx = this.idx++;
this._children.push(ref);
});
}
And this is how i am adding components.Somebody please tell me how to add the child controls to the control in parent form