Angular - Lifecycle Hooks
What is the main purpose of the
ngOnDestroy lifecycle hook in Angular?ngOnDestroy lifecycle hook in Angular?ngOnDestroy hook is called when Angular removes a component or directive from the view.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions