An AngularJS polyfill for currency input type