money pipe angular

JavaScript
//I solved this way:

//app.module.ts

import { LOCALE_ID } from '@angular/core';
import localePt from '@angular/common/locales/pt';
import {registerLocaleData} from '@angular/common';
registerLocaleData(localePt)

 providers: [{
    provide: LOCALE_ID, 
    useValue: "pt-BR"
  }],

//.html

currency:'BRL'       
      {{ value_expression | currency [ : currencyCode [ : display [ : digitsInfo [ : locale ] ] ] ] }}
          
{{ value_expression | currency [ : currencyCode [ : display [ : digitsInfo [ : locale ] ] ] ] }}

currencyCode	string	
Optional. Default is undefined.

display	string | boolean	
Optional. Default is 'symbol'.

digitsInfo	string	
Optional. Default is undefined.

locale	string	
Optional. Default is undefined.
Source

Also in JavaScript: