If you start writing a negative number with the minus sign it would not work. It would not work even if you wanted to write decimal numbers
I fixed it: http://plnkr.co/edit/WiFRg43Yol36V2KecKWK?p=preview On Tuesday, May 14, 2013 3:35:17 PM UTC+2, Michiel Kikkert wrote: > > This seems to be the best solution (by > Ryan Randall): > > 2:09 PM (1 hour ago) > You can use a combination of $parsers and $formatters. Here's an > example: http://plnkr.co/edit/0Ger5fFzwPJQbJzwoflV?p=preview > > See also: http://docs.angularjs.org/guide/forms > > Take a look at http://docs.angularjs.org/guide/i18n for international > currency formats. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
