Learn about directives in Angular 2 and how they enhance the functionality of components.