A simple Angular.js directive that formats a text input as currency, adding commas and removing invalid characters.