In this example filtered data with id 28 is having index value 4 so the output will be {{data.indexOf(person)}}