Skip to content Skip to sidebar Skip to footer

Angularjs Ng-repeat Filtering By A Deeper Tier Of Data

In my data for appointments I have months, weeks, days, timeslots In a listing view it is unimportant to show 'weeks' (but it is important for other reports) for 'days' I can filte

Solution 1:

Yes there is a way exists!!!

A special property name $ can be used (as in {$:"text"}) to accept a match against any property of the object or its nested object properties. The predicate can be negated by prefixing the string with !. For example {name: "!M"} predicate will return an array of items which have property name not containing "M".

Here is the filter explained.

Post a Comment for "Angularjs Ng-repeat Filtering By A Deeper Tier Of Data"