Attribute Directives in Angular
- Accessing the
nativeElementproperty of the injectable
- Using Angular rendering engine, and specifically, the
Renderer2class to add and remove classes, and more.
- Decoupling our attribute directives from the Document Object Model (DOM) using the
The goal is to learn how to build attribute directives using Angular to extend the behavior and functionality of elements in our templates.