My angular2 component has an @Input(): data of type [number,number]. The size of the array is should be determined from the input. How can I now bind the content of this array to a table in html, i.e., the table should be something like this:
<table>
<tr>
<td> data[0,0] </td>
<td> data[0,1] </td>
...
</tr>
<tr>
<td> data[1,0] </td>
<td> data[1,1] </td>
...
</tr>
...
</table>
@Input() data: number[];. Can you show example input for easy understand problem?*ngFor, yes.