I have a simple list that i would like to filter.
Example code:
<div *ngFor="let x of data"></div>
example data:
data = [
{
"img" : "assets/img/photos/05.jpg",
"title" : "Denim Jeans",
"overview": "today"
},
{
"img" : "assets/img/photos/05.jpg",
"title" : "Denim jacket",
"overview": "month"
},
];
I want to show only which have overview field month.
I expected something like this:
*ngFor = "let x of data == overview"