Angular directives for formatting and validating credit card inputs