If you want to avoid multiple DataComponent being created in the this.ele ElementRef, you can check before adding a new instance.
addComp(){ if (this.ele && !this.ele.firstChild) { this.ele.createComponent(DataComponent); } }