AngularJS Directive for decimal numbers