where to declare your costume Pipe in angular code example Example: command to create custom pipe in angular 6 ng generate pipe personName