How to display the currency symbol to the right in Angular
问题 I have to display Euro currency like this : 583 € . But with this code: {{ price | currency:'EUR':true }} I get €583 , is there any option in Angular core to move the symbol to right? A lot of european countries use the symbol at the right (France, Germany, Spain, Italy). 回答1: Since Angular2 RC6 version you can set default locale directly in your app module (providers): import {NgModule, LOCALE_ID} from '@angular/core'; @NgModule({ providers: [{ provide: LOCALE_ID, useValue: 'de-DE' // 'de-DE