You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not very sure what you're trying to achieve...
You use it like this:
$filter('inArray')(data,"StatusInt") where "data" (the first argument of this filter) is your array to match against, and "StatusInt" (second argument) is the property you want to match against the array.
It would be nice if you could provide more info about your problem.
On Sunday, February 1, 2015 2:09 AM, bluee <[email protected]> wrote:
Is it possible to call this filter from the controller?I have been trying this:
$filter('inArray')(data, { StatusInt: item.filter })But not sure how to pass the parameters: filterBy:"StatusInt"—
Reply to this email directly or view it on GitHub.
I'm just basically trying to run the $filter inArray from a controller than from a view. So I'm trying to achieve the same as in your example here on Github.
Is it possible to call this filter from the controller?
I have been trying this:
$filter('inArray')(data, { StatusInt: item.filter })
But not sure how to pass the parameters: filterBy:"StatusInt"
The text was updated successfully, but these errors were encountered: