ngOnChanges
- called when an input binding value changesngOnInit
- after the first ngOnChanges
ngDoCheck
- after every run of change detectionngAfterContentInit
- after component content initializedngAfterContentChecked
- after every check of component contentngAfterViewInit
- after component's view(s) are initializedngAfterViewChecked
- after every check of a component's view(s)ngOnDestroy
- just before the component is destroyed