This post summaries the interview questions commonly asked in Angular interviews based on the experience. You can find the answer for most of the questions in angular.io site itself. Here I just try to give few hints for the few questions. Prepare yourself for the remaining questions.
List of questions asked in interviews ?
- What is the architecture of Angular ?
Tell your own story with this image.
- What are the main features of angular ?
- Cross platforms - Progressive web apps, Native and desktop
- Speed and performance - Light weight due to differential loading
- Productivity - Angular CLI, IDEs
- Testing - Karma
- Animation - High performance animations
- Accessibility - ARIA enabled components
- What is the different between angular modules and javascript modules?
- Angular NgModule is different from javascript modules.
- In javascript, each file is a module and objects defined in that file belongs to that module.
- Javascript exposes the object defined in a module using export keyword and import the objects in another module using import.
- Angular module is just a class decorated with NgModule decorator which is a building block of angular application.
- Angular modules are responsible for a work flow or a closely related set of capabilities. We can import one module into another to use the capabilities.
- What is the difference between angular and angularJS?
- What is metadata?
- What is decorator?
- What is dependency injection?
- Tell me about angular life cycle hooks?
- Tell me about angular compilation process?
- What is difference between AOT and JIT?
- Explain about angular bootstrapping?
- Tell me about types of forms in angular ?
- What is the difference between ngAfterContentInit and ngAfterViewInit ?
- What is the difference between observable and a promise ?
- What is a pipe in angular?
- What is a polyfill?
- Tell me about routing in angular ?
- What is the difference between ForChild and ForRoot?
- Tell me about server side rendering in angular ?
- What is the difference between compilation and transpilation?
- What is ngZone?
- Explain about angular change detection?
- What is view encapsulation in angular?
- What is the difference between pure and impure pipe?
- What is lazy loading?
- What is internalization in angular ?
- What is service worker in angular ?
- What is differential loading?
- What is renderer in angular?
- Why we should use renderer ?
- Tell me about angular project file structure?
- What for package.lock file ?
- What is proxy.config file?
- What is the use of tsconfig.json file?
- What is a web worker ?
- How will you refer external scripts in angular ?
- What is the security feature in angular?
- What is XSS attack and how can we avoid it?
- How to create a nested routing?
- What is immutability in angular ?
- What is the life cycle of a service?
- What is the use of BrowserModule and CommonModule?
- What kind of importing is used in angular?
- How will you communicate between components?
- When will you use ngDoCheck ?
- What is a directive? Tell me about its types?
- What is the difference between viewChild and viewChildren?
- Explain about ngContent, ngTemplate and ngContainer ?
- What is the difference between reactive and template driven forms?
- What is a entry component?
- What is the use main.ts?
- What is the difference between Subject and Behaviour subject?
- What is a feature module? What are the types?
- What is a provider?
- What is the difference between useClass and useFactory?
- How will you make one module available to other modules?
- What if I import the same module twice?
- Can we re-export classes and modules?
- Why is a service provided in a lazy-loaded module visible only to that module system?
- What if two modules provide the same service?
- Why does lazy loading create a child injector?
- Why does Angular need entryComponents?
- What is a template reference?
I will update the answers when ever I get time. All the best.





