I have the following filter in angular JS:
<div ng-repeat="node in data | filter:{parentID:12}"></div>
This works fine (I only get data where parentID is 12).
In the next step, I want to get all the data where the parentID (for example) is 12,13,25 or 30.
I tried (doesn't work):
filter:{parentID:[12,13,25,30]}
Is there a way to create a filter as described?
Many thanks!
source share