I have a list of cells. And I am trying to display its Location Reference for another screen. The way I want to display that property is in the shape of buttons. I want to have 1 button per cell and on the button, I want to write the Location Reference of the cell. Right now, the cells are too much, so I don't want to add them one by one. I tried to use ng-repeat but I couldn't make it work and it gave many errors. What should I do to achieve what I want?
HTML:
<div fxLayout="column" class="mat-elevation-z2 responsive-grid">
<table>
<tr ng-repeat="LocationReference in cell">
<td>
<button>{{ cell.LocationReference }}</button>
</td>
</tr>
</table>
</div>
TS:
cell: ICell;
Cell Interface:
export interface ICell {
CellId?: number;
CellName?: string;
LocationReference?: string;
}