I adding text into html element from ts
like this
this.legend.append(\'text\') .attr(\'x\', legendRectSize + legendSpacing) .attr(\'y\', legendRectSi
In your .ts
import {YourPipe} from '/pipePath'; let value = new YourPipe().transform(param);