I am going through the Angular pipes but facing difficulty understanding the advantage of pipe over common function.
Does Angular treats Pipes differently then functions? If yes, then what is stopping Angular to treat functions also like pipes? why we need to seperately define pipes?
For example, if I have a function that converts to uppercase letter, does this just not enough to define that function? Do I need to comeup with Pipe?
Whatever the benefits Angular is giving to pipes it can give to this function also right without defining it as pipe?