I have a input to show a formatted number.
Normally, when it has no focus, it should show a formmatted string, e.g. \'$50,000.00\'.
But when it has focus, it should show the
you can use ng-focus to apply a filter/transformation yo your model to make it the raw value and ng-blur to make it the formatted value as for the formatting part am afraid you'll have to build your own filter. i don't know of any existing one to perform this operation, although maybe there is.