Goal:
-------------------
| | foo | haz |
-------------------
| bar | 5 | 7 |
| can | 6 | 8 |
-------------------
It seems like a trivial thing to want… but at second glance it seems quite complicated with all the explicit required:
<ng-container matColumnDef="score">
<th mat-header-cell *matHeaderCellDef> Score </th>
<td mat-cell *matCellDef="let user"> {{user.score}} </td>
</ng-container>
What am I missing here, is there not some simple way of construct a material table from that input?