angular attempt to use a destroyed view on navigation code example
Example: destroyed view: detectChanges
if (!this.changeDetectionRef['destroyed']) {
this.changeDetectionRef.detectChanges();
}
if (!this.changeDetectionRef['destroyed']) {
this.changeDetectionRef.detectChanges();
}