1
2 {{ value_expression | currency [ : currencyCode [ : display [ : digitsInfo [ : locale ] ] ] ] }}
3
1//I solved this way:
2
3//app.module.ts
4
5import { LOCALE_ID } from '@angular/core';
6import localePt from '@angular/common/locales/pt';
7import {registerLocaleData} from '@angular/common';
8registerLocaleData(localePt)
9
10 providers: [{
11 provide: LOCALE_ID,
12 useValue: "pt-BR"
13 }],
14
15//.html
16
17currency:'BRL'