Introduction
A directive is a class with a @Directive
decorator that extends the functionality of a component in Angular.
Directives are used to add behavior to elements in the DOM. In this guide, you will learn how to create custom
directives for the email template builder.