ngAfterViewInit() {
    if (this.tabGroup) {
      this.tabGroup.attachTemplatePortal(this.portalOutlet, this.templateLabel, this.cdr);
    }
  }