AngularJS module for validating credit cards