@shacker Can we move this directive to a different location? This doesn't really belong in the controller.
Apart from that it would also be good to abstract this so we can reuse it in other places.

e.g. rename `ccduedate` to `datevalidation`.