title: Angular 2 (v6) inline if else?
body: <p>I use Angular Material Tables. And display in a table a list of columns (displayedColumns).</p>
  
  <p>I need to display the "birthday" column using the "date" filter (<code>{{element[column] | date}}</code>), but let other columns as is. How do I say, if the column=="birthday" then apply the filter "date"?</p>
  
  <pre><code>&lt;ng-container matColumnDef="{{column}}" *ngFor="let column of displayedColumns"&gt;
    &lt;th mat-header-cell *matHeaderCellDef&gt; {{column}} &lt;/th&gt;
    &lt;td mat-cell *matCellDef="let element"&gt; {{element[column]}} &lt;/td&gt;
  &lt;/ng-container&gt;
  </code></pre>