how to pass async pipe value as a function parameter angular code example
Example: angular pass async pipe value to funciton
<div *ngIf="(match | async) as match" class="team" (click)="addToFavorite(match.id)">
<div *ngIf="(match | async) as match" class="team" (click)="addToFavorite(match.id)">