Alternatively, you can enter CurrencyPipe:
bootstrap(AppComponent, [CurrencyPipe]);
Trumpet:
@Pipe({ name: 'mypipe' }) export class MyPipe { constructor(private cp: CurrencyPipe) { } transform(value: any, args: any[]) { return this.cp.transform(value, args); } }
pixelbits
source share