For questions about ngondestroy, a lifecycle hook from the Angular Framework that is called when a directive, pipe, or service is destroyed.