Add a counter variable to both * ngFor statements, say i and j, then do the math as an expression. Here is the code:
<tr *ngFor="let adjustment of adjustments; let i = index"> <td *ngFor="let blade of blades; let j = index"> <span> Counter = {{ (i * blades.length) + j }} </span> </td> </tr>
source share