How to create custom Attribute Directive in Angular Dhananjay Kumar / Tue, Nov 1, 2016 Attribute Directives are used to change the behavior, appearance or look of an element on a user input or via data from the service. Essentially, there are three types of directives in Angular 2: ...