Q. Which lifecycle hook is called before Angular destroys the component?
β
Correct Answer: (A)
ngOnDestroy
Explanation: ngOnDestroy is called just before Angular destroys the component.