laurihy/angular-payments — pull request #8 by danxshap (2013-12-06 18:55:48+00:00)
Title: Clear card type when appropriate

Try the example and type "4". You'll see the Visa logo. Then delete the 4 and the Visa logo will still be there, but it should go away. I made a `clearCard` function and call it whenever the card type should be cleared due to the number being invalid.