Exercise
Use the Schematics CLI to create an Angular schematic for generating an Angular directive. The directive should inject the ElementRef and Renderer2 services from the @angular/core npm package in to the constructor of the TypeScript class.
You should follow the same approach as we did for the component schematic in the Creating a Tailwind CSS component section.
You can find the solution in the Chapter10 folder of the exercise branch in the GitHub repository for this chapter.