I\'m trying to use pipe to format the price of an item in PT-BR currency format.
Here what i\'m trying to do:
{{statement
in app.module.ts
`//add support to pt-BR
import { LOCALE_ID } from '@angular/core';
import { registerLocaleData } from '@angular/common';
import localePt from '@angular/common/locales/pt';
registerLocaleData(localePt);
//add support to pt-BR`
`providers: [ {provide: LOCALE_ID, useValue: "pt-BR" }]//add support to pt-BR`
at the page html
{{product.price| currency}}