AngularJS directive to validate monetary inputs