Explain the available lifecycle hooks?
The available lifecycle hooks are-Below is the description of these lifecycle method- ngOnChange- this method gets called whenever the values of data-bound property get changed. ngOnInit-this method gets called when the initialization of directive/component after the Angular displays the data bound property happens.…
Answered Nov 13, 2019 · 1.4K Views Read answer →