ANAND ANAND - 1 year ago 70
Javascript Question

How to pass a two argument to a custom filter in angular js

I am trying to create a custom filter in angular js in that how to pass a two arguments in angularjs or other its possible to use a $scope and $rootScope inside a filter

Answer Source

u can use like this i tried its working fine for me

{{mytext | customfilter:arg1}}

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download