Angular directive to mask input fields in forms