How can I run an *ngIf
on a collection if there is any item in collection that has a property true?
var data ={
Collection: [
{Flag : true },
{Flag : true },
{Flag : true },
{Flag : false }
]
}
how can I do *ngIf="data.Collection.ANY(Flag == true)"