Angular js
{{ filter_expression | filter : expression : comparator : anyPropertyKey}}
I can not understand the last argument, i.e. anyPropertyKey. Can someone please explain to me with a simple example
<div ng-init="ar=[{n:'ram1', m:1}, {n:'mah', m:1}, {n:'vij', m:3}]">
<div ng-repeat='x in ar | filter: "1": false: propertyName'>{{x}}</div>
</div>
this is what i have tried so far. In the above code, I should write instead of the Name property.
source
share