I have the following input field:

```
<input type="text" class="span2" ng-model="mynumber">

```

mynumber has the value 0.55 which is loaded on pageload from a rest service. My problem is now, how can I format the number for different languages/countries? For example, in German, the value should be formatted with a comma (`,`) instead of a period (`.`). And if the user changes the number the number should be converted to `.` instead of `,`, if I send it back to the rest service.

This should also work for larger numbers like `90,000.00`, which should be `90.000,00` in German...

If I use the `angular-locale_de-at.js`, I can format the number on a normal output with this:

```
{{mynumber | number}}

```

but that does not work for an input field.

How can I handle this? The values should be (printed) formatted in the input field.

If I canage the type of the input field to number

```
<input type="number" class="span2" ng-model="mynumber">

```

it works in chrome but not in IE or FF. in chrome i get 0,55. but not in other browsers.

any ideas?