Angular 7 Directives overview.
There are three kinds of directives in Angular: Components—directives with a template. Structural directives—change the DOM layout by adding and removing DOM elements. Attribute directives—change the appearance or behavior of an element, component, or another directive. Components are the most common of the three directives. You saw a component for the first time in the Getting Started. Structural Directives change the structure of the view. Two examples are NgFor and NgIf. … Continue reading Angular 7 Directives overview.
