title: how simplify the [ngClass] in a template
body: <p>The [ngClass] in this template way too long. Is there a simple way to do it?  Thank you.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;ng-container matColumnDef="ThisConsult.Status"&gt;
    &lt;th mat-header-cell *matHeaderCellDef mat-sort-header [ngClass]="'headerStyle'"&gt;Status&lt;/th&gt;
    &lt;td mat-cell *matCellDef="let element"&gt;
      &lt;div [ngClass]="{'seahawk': element.ThisConsult.Status==='PENDING', 'blue': element.ThisConsult.Status==='ACTIVE',
              'blackOnWhite': element.ThisConsult.Status==='DISCONTINUED', 'grayOnWhite': element.ThisConsult.Status=='COMPLETE',
              'bloody': element.ThisConsult.Status==='CANCELLED'}"&gt;
        {{element.ThisConsult.Status}}
      &lt;/div&gt;
    &lt;/td&gt;
  &lt;/ng-container&gt;</code></pre>
  </div>
  </div>
  </p>