- ngOnChanges: called after a bound input property changes
- ngOnInt: called once the component is initialized
- ngDoCheck: called during change detection run
- ngAfterContentInit: called after content (ng-content) has been projected into view
- ngAfterContentChecked: called every time the projected content has been checked
- ngAfterViewInit: called after the component’s view (and child views) has been initialized
- ngAfterViewChecked: called every time the view has been checked
- ngOnDestroy: called once the component is about to be destroyed