Tuesday, February 20, 2018

Difference between component and directives

Component have their own view using html and class, while directives are behavior added to existing element or component.

Component extends directive.

A directive may or may not have view but a component always have view.

No comments:

Followers

Link