2.1 Refactoring a Directive
Angular components don’t completely replace directives. Some directives are suitable for refactoring into components, and some are not. In this lesson, we’ll talk about examples of each. Then we’ll go on to start refactoring a suitable directive.