money pipe angular

Solutions on MaxInterview for money pipe angular by the best coders in the world

showing results for - "money pipe angular"
Niko
20 Nov 2016
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'