I made two directives to setup custom error messages in AngularJS:
errors -> displays the error messages for a form
error-message -> sets up a custom error message on an input
For some reason whenever I add the error-message
directive to the element the ng-model binding no longer works (but validation does).
See here http://jsfiddle.net/apohl/A8Vgk/111/
Help please :)