I have a table containing the list of feedback. I'm trying to call the function on each looped item.
HTML File:
<ng-container *ngFor="let fd of feedbacks;let i = index">
<tr>
<td>{{ i + 1 }}</td>
<td>{{ fd.feedback }}</td>
<td><button (click)="Analyzer(fd.feedback)">Click me!</button></td>
</tr>
</ng-container>
Attempted action : Set each item as argument to Analyzer() function.