Directives in Angular

Directives are classes that add additional behaviour to elements in your Angular applications. Using directives we can introduce new…