Angular’s OnInit and onDestroy hooks works for component where they are declared, not where they are used/rendered. That means, if using ng-content, the child will not be destroyed when destroying the component containing the ng-content.
Реально?
Ну а как можно отследить например включение компонента через ng-template? )