Hexaware Technologies Interview Question

Diff between component and directive