How to get unique records from this array. I need to get unique {{ subitem.author }} from this array of items.
<div *ngFor="let item of items">
<ion-list *ngFor="let subitem of item.items" (click)="authorquotes(subitem.author);">
<ion-item >
{{ subitem.author }}
</ion-item>
</ion-list>
</div>
In array having multiple records. From that array, I need to filter unique authors.
*ngForcan't help you here. You can create a pipe that filters duplicates, or you can use a list in*ngForthat already has the duplicates filtered.