Other Companies (Name Not Shared) Angular Interview Questions for 4+ years
Shared question set for 4+ years of experience. Topics and wording follow the supplied notes; these are questions, not official company guidance.
- What is a closure and how does it work in JavaScript?
- What is hoisting? Follow-up: Temporal Dead Zone (TDZ).
- How does memory allocation work in JavaScript?
- Explain event bubbling and capturing and how to prevent it.
- What is event delegation?
- Explain callback functions.
- List down ES6 features.
- What is the difference between spread and rest operators?
- What is the scope difference between var, let, and const? Guess the output for a loop with var and with let accessed outside the loop.
- What is the current version of ECMAScript?
- Explain Promises. What is the difference between Promise.all and Promise.race?
- What is the CSS box model?
- What are the position properties in CSS?
- How do you write media queries?
- How does the Bootstrap grid system work for responsive layouts?
- What is the difference between display: none and visibility: hidden?
- What are the building blocks of Angular?
- What is the difference between AngularJS and Angular (2+)?
- What is routing and why is it needed?
- With Angular 17+ standalone components, app.module is gone. What changed?
- Template-driven vs reactive forms.
- What is the purpose of services?
- How do you share data between components? What if components do not have a parent-child relationship?
- What is the difference between Subject and BehaviorSubject?
- How do you open a Bootstrap modal without bootstrap.js? (Expected answer: ViewChild approach)
- How do you handle large forms using multi-step / stepper forms?
- How do you handle API errors at a single place?
- How do you show a loader when API data takes time to load?
- What are @HostListener and Renderer? (Explained using a custom directive.)
- Signals: what is the difference between set() and update()?
- Where do you keep your codebase repo?
- Do you raise PRs and who reviews them?
- Are you using GitHub Copilot during development?
- Have you written unit test cases?