Angular JS directive that restricts an input's value to a number