property
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
Param | Type | Details |
---|---|---|
property | string | The name of the property to filter on. |
value | string | The value of the property to filter on. |
returnProperty | string | The property to return. |