Throughout this book, we learned how to craft Angular 2 components. Before we end our journey, it's important to understand that Angular 2 didn't kill the concept of directives. As a matter of fact, a component is a directive. In this chapter, we will introduce Angular 2 directives and how to use them.
The following are the topics that we will cover:
The difference between components and directives in Angular 2
Angular 2 directive types
How to build a simple attribute directive
How to build a simple structural directive