ANAND ANAND - 1 month ago 10
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

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

{{mytext | customfilter:arg1}}