Lifecycle hooks are methods called from the creation of a component or a directive to its destruction. For directives, the only lifecycle hooks that can be called include: ngOnInit, ngOnChanges, ngDoCheck and ngOnDestroy. For components, the above lifecycle methods can be called together with: ngAfterContentInit, ngAfterContentChecked, ngAfterViewInit ngAfterViewChecked N.B: