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