@danielzotti/ng-input-number-i18n

Source code and docs on GitHub

Locale {{locale}}
Format (digitsInfo)

See DecimalPipe docs to learn how to handle digitsInfo

Click on the input to see the magic!

If you type the number 0 the CustomPipe used in this example will print the string 'EMPTY'

TYPE VALUE NOTE
Formatted
string
{{outputValues.formattedValue}} displayed in normal condition
Input
string
{{outputValues.inputValue}} displayed on focus
Real
number
{{outputValues.realValue}} stored in ngModel and in mainValue variable