我在Angular2中有两个嵌套的* ngFor循环.我想维护一个计数器,每次重复循环中心的代码时,计数器会递增.
<tr *ngFor="let adjustment of adjustments"> <td *ngFor="let blade of blades"> <span> Counter = ????????? </span> </td> </tr>