In interviews, this is one of the most common “framework comparison” questions. The key is not to memorize differences, but to clearly explain philosophy + architecture + use cases.
Routing in Angular is used to navigate between different views/components in a Single Page Application (SPA) without reloading the entire page.
In Angular, both Observables and Promises are used to handle asynchronous operations like API calls, timers, user events, etc.
State management in Angular means managing and sharing application data across components in a predictable and maintainable way.
Handling API calls is one of the most common tasks in Angular applications. Angular mainly uses the HttpClient service for communicating with backend APIs.
AOT (Ahead of Time Compilation) is the process where Angular compiles the Angular HTML templates and TypeScript code into efficient JavaScript during the build time, before the application runs in the browser.
Without AOT, Angular uses JIT (Just in Time Compilation) where compilation happens inside the browser at runtime.
In Angular, both @ViewChild and @ViewChildren are used to access elements, components, or directives from the component’s view (HTML template).
In Angular, @Input() and @Output() decorators are used for communication between parent and child components.
Creating a copy of a JSON object is a very common Angular / JavaScript interview question, mainly used to test your understanding of reference vs value types and immutability.
Passing data between components in Angular is a very common interview topic, and interviewers usually expect you to explain all communication patterns clearly with use-cases.
