Angular directive for a customized numeric user inputs