variants: [{"vType":"red"},{"vType":"red"},{"vType":"black"}]
I need to use a filter to get unique colors as only "red and black" ill be using
<select class="form-control" [(ngModel)]="selectedVariant" (ngModelChange)="changeVariant(selectedVariant)" >
<option *ngFor="let c of selection">{{c.vType}}</option>
</select>
how to create a custom filter to filter unique colors.