Adapt IT interview question

How would you use a Pipe in angular?