Expected 3 arguments, but got 1 fix code example
Example: Expected 1 arguments, but got 0.
(click)="myFunc(i)" //Index needs to be passed when button is inside *ngFor
(click)="myFunc(i)" //Index needs to be passed when button is inside *ngFor