I have a data file that contains keys such as:
[
{
"message": "Verify envelopes are properly loaded.",
"hasFigure": false,
"figureX": 0,
"figureY": 0
},
{
"message": "Ensure the paddle is in the down position.",
"hasFigure": true,
"figureX": 185,
"figureY": 50
}
]
I want to use ng-repeat to display only the items where the value of hasFigure
is true
I understand that it requires a filter, but I'm struggling with the proper syntax...