angular lifecycle hooks by dnt

there is a sequence of steps that are performed to build an angular application. These steps range from the process of its initialization to its destruction. This whole process of the component or the directive is known to be its LifeCycle. Guides for angular lifecycle hooks.