I m trying to display data from array inside a dropdown using ngFor. But i am getting duplicate values.How do i remove it?
Here is the entire data: https://restcountries.eu/rest/v2/all
Here is the currencies array that i am trying to loop..
I m trying to display unique values based on name field of currency array.
Here is the GitHub link to the code:
https://github.com/saisreereddy/RestfulCountriesv3
The logic is inside the region component.
Any kind of help is highly appreciated.