Custom AngularJS directive for Luhn validation
The Luhn algorithm is a simple checksum formula that can be used to validate credit card and other numbers. I thought it would be good to write a custom AngularJS directive to validate text inputs using the Luhn algorithm.
