Angular Interview Questions for Experienced Full Stack Developers π
Introduction
Angular is one of the most popular frameworks for building modern web applications. With its strong TypeScript foundation, component-based architecture, and powerful tooling, Angular is widely used by enterprises and startups alike. For senior developers, especially those with full stack experience, mastering Angular concepts is essential for building scalable applications and excelling in interviews. This blog organizes 100 Angular interview questions into clear sections, making it easier to study and prepare.
1. Angular Basics
What is Angular?
Difference between AngularJS and Angular?
What are the key features of Angular?
What is SPA?
What is TypeScript?
Why Angular uses TypeScript?
What is Ahead-of-Time (AOT) compilation?
What is Just-in-Time (JIT) compilation?
Angular application architecture?
What is Angular CLI?
2. Components
What is a component?
What is decorator in Angular?
What is @Component?
Difference between component and directive?
Lifecycle hooks in Angular?
Explain ngOnInit().
Explain ngOnChanges().
Explain ngOnDestroy().
What is ViewChild?
What is ContentChild?
3. Data Binding
What is data binding?
Types of data binding?
What is interpolation?
What is property binding?
What is event binding?
What is two-way binding?
What is ngModel?
Difference between one-way and two-way binding?
What is change detection?
How change detection works?
4. Directives
What is directive?
Types of directives?
What is ngIf?
What is ngFor?
What is ngSwitch?
What is custom directive?
Attribute directive vs structural directive?
What is trackBy in ngFor?
Why use trackBy?
What is HostListener / HostBinding?
5. Services / Dependency Injection
What is service?
What is dependency injection?
What is @Injectable?
Service provider scope?
Singleton service?
What is InjectionToken?
Hierarchical DI?
Difference between constructor injection and inject()?
How Angular DI works?
What is shared service?
6. Routing
What is Angular routing?
How to configure routes?
What is router-outlet?
What is lazy loading?
What is route guard?
Types of route guards?
What is CanActivate?
What is CanDeactivate?
Route parameter vs query parameter?
Child routes?
7. Forms
Template-driven forms?
Reactive forms?
Difference between template and reactive forms?
What is FormGroup?
What is FormControl?
What is FormArray?
Validators in Angular?
Custom validator?
Async validator?
How to handle dynamic forms?
8. RxJS / Observables
What is Observable?
Difference between Observable and Promise?
What is Subject?
BehaviorSubject vs Subject?
ReplaySubject?
Async pipe?
Common RxJS operators?
switchMap vs mergeMap vs concatMap?
debounceTime?
takeUntil?
9. HTTP / API
What is HttpClient?
How to call API in Angular?
Interceptors?
Error handling in HTTP?
Retry failed request?
JWT token in Angular?
How to attach token in request?
CORS issue?
File upload in Angular?
File download in Angular?
10. Performance / Advanced
What is lazy loading?
What is OnPush change detection?
How to improve Angular performance?
What is module federation?
What is standalone component?
Difference between module-based and standalone?
Unit testing in Angular?
Jasmine / Karma?
How to deploy Angular app?
Real-time project challenges in Angular?
Conclusion
These 100 questions cover the breadth of Angular knowledge expected from senior full stack developers. From basics and components to advanced performance tuning and deployment strategies, this list serves as a comprehensive guide for interview preparation. By mastering these topics, you’ll not only be ready for interviews but also equipped to build robust, scalable, and maintainable Angular applications in real-world scenarios.
This was part of Interview Preparation With Bipin — Let’s Crack It!
Comments
Post a Comment