Please find below the top 50 most asked Angular interview questions. These questions must help you in boosting your self-confidence before you appear in the interview. These questions are applicable for all versions of Angular from Angular 2 to Angular 7.
- What is Angular?
- How Angular is different from AngularJS?
- What is TypeScript?
- Explain lifecycle hooks of Angular?
- What are few building blocks of Angular?
- What is Component in Angular?
- What is Directive?
- What are different types of Directives?
- What is Service?
- What are Providers in Angular?
- In how many ways we can register providers in Angular?
- How does DI works in Angular?
- What is @Injectable decorator?
- What are Configuration Decorators?
- Name few decorators?
- What is Module in Angular?
- What is feature module in Angular?
- Use of Imports, Declarations, Providers in Angular Module?
- Use of forRoot()?
- How will you make the service singleton for lazy loaded modules?
- How does DI works in case of lazy loaded modules?
- Difference between Component & Directive?
- How does Angular App bootstraps itself?
- What is Main.ts file?
- How to bootstrap Angular App with a module other than App Module?
- What does bootstrap module does?
- What is BrowserModule in Angular?
- How index.html understands component selectors?
- How to share component between lazy loaded modules?
- How to pass OAuth token in Angular?
- How to prevent few requests to not go through the interceptor?
- How to centralized exception handling?
- How @ViewChild can improve performance?
- BehaviourSubject vs Observable?
- What is ErrorHandler class in Angular?
- JIT vs AOT?
- Angular vs React?
- What is Observable?
- Promise & Observable?
- What is RxJS?
- Name few RxJS operators?
- Explain these RxJS Operators - map(), catch(), filter(), flatMap() etc.
- What are Pipes?
- What is template variable in Angular?
- What are pipes?
- What are some inbuilt pipes & how do pass arguments in them?
- How to create a custom pipe?
- What are input & output properties?
- What is Change Detection?
- How can we improve performance of an Angular application?