What are the difference between directive and component in angular 4?
In Angular 4, components have their view, whereas directives are just “behavior” added to the existing components and elements. Simplifying it, components extend directives. There can be many directives on a host element, but only one component.
Suggest An Answer
No suggestions Available!