Expected 1 arguments, but got 0 or more spread 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