ngOnDestroy abstract method
void
ngOnDestroy()
Executed before the directive is removed from the DOM and destroyed.
See OnDestroy for a full description.
Implementation
void ngOnDestroy();
Executed before the directive is removed from the DOM and destroyed.
See OnDestroy for a full description.
void ngOnDestroy();