Top 300 Angular Interview Questions With Answers Part-2

Опубликовано: 04 Август 2026
на канале: AI Coding
168
3

Top 300 Angular Interview Questions With Answers: In this video i have covered 3 angular interview questions with answers in great detail .

Q 8. Explain Angular architecture?
Q.9 Explain Angular lifecycle hooks ?
Following are the life cycle hooks.
1.ngOnChanges: When the value of a data bound property changes, then this method is called.
2.ngOnInit: It occurs at the of initialization of the directive/component after
Angular first displays the data-bound properties.
3.ngDoCheck: This is for the change detection and to act on changes that Angular can't detect on its own.
4.ngAfterContentInit:Called when Angular projects external content into the component's view.
5.ngAfterContentChecked:Called when Angular checks the content projected into the component.
6.ngAfterViewInit:Called when Angular initializes the component's views and child views.
7.ngAfterViewChecked: This is called in response after Angular checks the component's views and child views.
8.ngOnDestroy: This is for cleanup just before Angular destroys the directive/component.

Q 10. Explain different decorators and metadata in angular ?

Visit my you-tube channel -    / @aicoding  

Like my facebook page -   / thecoolmentor  

Join Angular 9 Group :   / 808205929388989  

Follow me on Instagram :   / achyutanand93  

Best Regards
The Cool Mentor