I have the following class in an Angular app:
export class BenefitSettingModel {
benefitSettingId: string;
benefitSettingName: string;
benefitGroupId: number;
benefitGroupName: string;
}
Looping through an array in my view, I am displaying all benefitGroupName values with {{benefitSettingList[i].benefitGroupName}}
A lot of these values are identical and I only want to display unique ones. How can I display only the disinct values for benefitGroupName?