<table class="full-width services-tbl" mat-table *ngIf="tableData.length && tableLoaded" [dataSource]="tableData">
  <ng-container matColumnDef="description">
    <th mat-header-cell *matHeaderCellDef></th>
    <td appFlex="55" class="service-td" mat-cell *matCellDef="let element">
      <span>{{element.description}}</span>
    </td>
  </ng-container>

  <ng-container matColumnDef="data">
    <th mat-header-cell *matHeaderCellDef></th>
    <td appFlex="45" class="service-td service-td-value" mat-cell *matCellDef="let element">
      <span fl-tooltip-direction="left"
            [attr.title]="element.data.title ? element.data.title : null"
            [style.font-size]="element.data.fontSize"
            [attr.fl-tooltip]="element.data.tooltip || ''"
            [class.fl-tag]="element.data.tag"
            [class.fl-light-green-bg]="element.data.bgColor === AppColor.Green"
            [class.fl-red-bg]="element.data.bgColor === AppColor.Red"
            [class.fl-red-color]="element.data.color ===  AppColor.Red"
            [class.fl-green-color]="element.data.color === AppColor.Green">
        {{element.data.value}}
      </span>
    </td>
  </ng-container>
  <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
  <tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
</table>
