An Angular directive to format numbers in text boxes