At a high level, directives are markers on a DOM element (such as an attribute, element name, comment or CSS class) that tell AngularJS'sHTML compiler ($compile) to attach a specified behavior to that DOM element (e.g. via event listeners), orThe post What is angularjs directives? How to create a custom form input and custom validations appeared first on Getcreativeweb.