angular array get element by property code example Example: how to find element in array angularjs comment by pritesh