I wanted to show only unique values in the div instead of all.
<div *ngFor="let user of allUser">
{{user.gender}}
</div>
But right now, it's populating all the values as per the screenshot
What changes do I need to do to show only unique values here? It should show 2 values as : Male and Female.