Reputation: 37
If I have the following API response, how to fetch the value player
using ngFor
in angular 7?
Upvotes: 1
Views: 76
Reputation: 10697
If you want to get the list of all players i.e teama_player
list so you can just:
<div class="col" *ngFor="let obj of summeryDetail.match_details.team_a.teama_player">
{{obj.player}}
</div>
Upvotes: 1