AngularJS directive that handle vat input with math check