With applications complexity increases, thus the code complexity too. To achieve a minimal coupling, we can process a function as Pipe in Angular and achieve the same.
Consider the following example of attaching the text to the input provided.
this.h...