Angularjs how to apply currency filter to input type = number?
Here is the Plunkr I created: http://plnkr.co/edit/T9nrjP1LePGYwF8C0yBH
I am using the $ currency filter and formatting the inputs type="text"
.
Now how can I do the same for input type="number"
?
Angularjs will set the model to undefined if you type any letters other than a number.
Any help would be appreciated.
+3
source to share
No one has answered this question yet
Check out similar questions: