Description

Get value from an array based on the value of a property.

Usage

In HTML Template Binding

{{ property_expression | property:value:returnProperty }}

In JavaScript

$filter('property')(property, value, returnProperty)

Parameters

ParamTypeDetails
propertystringThe name of the property to filter on.
valuestringThe value of the property to filter on.
returnPropertystringThe property to return.