Summary

Let’s recap what we’ve learned about structural directives.

Let’s highlight the most important things we need to remember about structural directives.

Generate file

To generate the directive file using Angular CLI, we use the following command which is the same as an attribute directive:

ng generate directive app-custom-directive

Directive syntax

The empty directive class looks ...