What are angular 2 hooks?
Answer / Sumit Gupta
Angular 2 hooks refer to points in the lifecycle of a component or directive where you can insert custom behavior. There are several hooks available, including `ngOnInit()`, `ngAfterContentInit()`, and `ngOnDestroy()`.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is template reference variable in angular?
How to generate a class in angular 7 using cli ?
What is dependency injection (di) in angular?
How to upgrade angular 7 to 8?
What is routing concept in angularjs?
List some cons or disadvantages of using angularjs?
Explain .config() and .run() methods in angularjs?
How can you get url parameters from angularjs controller?
What are angular 4?
What do you mean by zone in angular 6?
What directives support animations?
Explain filter filter angularjs?