So far you have learned and implemented built-in directives--Component, Structural, and Attribute Directives.
We also learned to generate custom directives using Angular CLI in the section Angular CLI - generating the directives.
In previous section, we learned and implemented custom Attribute Directives. In this section, we will learn to create Structural Directives.
Let's create a new directive using Angular CLI:
ng generate directive custom-structural
You should see the output of the preceding command as shown in the following screenshot:
Run the preceding ng command and we should see the directive ...