how to pass 2 parameters in filter pipe in angular 6 code example Example: angular pipe multiple arguments new MyPipe().transform(myData, arg1, arg2, arg3)