Skip to the page

30 questions · 9 rounds

Angular frontend developer interview questions

Questions from real Angular frontend rounds, grouped by the round that asks them. Open one for the follow-ups, what a strong answer covers and the traps. Then say your answer out loud: see the Angular frontend mock interview.

Part 1 · 18 questions

Technical screen

  1. call vs apply vs bind

    JS core · Concept · Mid

    Difference between call, apply and bind? Give a real use case for each.

  2. Hoisting output

    Output prediction · Write code · Mid

    Output, line by line? (code)

  3. ExpressionChangedAfterItHasBeenCheckedError after adding a loader

    Angular core · Scenario · Mid, Senior

    A teammate added a loading flag to the shared layout. Now the console shows 'ExpressionChangedAfterItHasBeenCheckedError' on every page in development. Production looks fine. What's going…

  4. Angular: a 5,000-row table freezes the page

    Angular in production · Scenario · Mid, Senior

    The transactions page shows up to 5,000 rows. Scrolling stutters, and typing in the filter freezes the page for two seconds. How do you approach it?

  5. Core Web Vitals today

    Web performance · Concept · Mid, Senior

    What are Core Web Vitals? Name the core and non-core vitals and their thresholds. What happened to FID?

  6. Flexbox (center a div, and more)

    CSS · Build it · Mid

    Center a div horizontally and vertically, three ways. Then explain flex: 1, and why my flex item won't shrink below its content.

  7. switchMap vs mergeMap vs concatMap vs exhaustMap

    RxJS · Trade-off · Mid, Senior

    Explain switchMap, mergeMap, concatMap and exhaustMap. Which one would you use for a search box, for saving a form on every change, for a login button users double-click, and for uploading…

  8. What to unit test, integration test and end-to-end test

    Testing a feature · Trade-off · Mid, Senior

    For a React app with a cart and a checkout, how do you decide what to cover with unit tests, integration tests and end-to-end tests? Where would most of your tests go?

  9. What TypeScript gives you; type vs interface

    TypeScript · Concept · Mid

    What is TypeScript and what are its features? When do you use type vs interface?

  10. Build cross-field and async validators

    Angular forms and routing · Build it · Mid, Senior

    On a signup form, write a validator that checks 'confirm password' matches 'password', and an async validator that checks whether the username is taken by calling /api/users/exists. Show…

  11. Bubbling vs capturing, stopPropagation vs preventDefault

    DOM & browser APIs · Concept · Mid

    Explain the three event phases. Difference between stopPropagation, stopImmediatePropagation and preventDefault? What does { passive: true } do?

  12. Signals or RxJS: when to use which

    Angular signals · Trade-off · Mid, Senior

    Angular already had RxJS. Why did it add signals? In a new feature, how do you decide what goes in a signal and what stays an Observable?

  13. fetch pitfalls and API error handling

    Networking & HTTP · Write code · Mid

    This helper looks right but the caller always gets undefined. Find the bug. Then: how should a UI handle HTTP errors from fetch? (code)

  14. Do you need NgRx?

    Angular state · Trade-off · Senior, Lead

    A new Angular project starts next week, and the tech lead says 'we'll use NgRx Store from day one'. Do you agree? Compare services with signals, the NgRx Signal Store and the classic NgRx…

  15. Testing a component with TestBed

    Testing Angular · Concept · Mid

    How do you unit test an Angular component? Walk me through TestBed and the fixture, and how you check that clicking a button changes what's on screen.

  16. CORS and the same-origin policy

    Web security · Concept · Mid, Senior

    What is CORS? Why does my fetch to api.example.com work in Postman but fail in the browser? What is a preflight?

  17. Making a custom widget accessible (dropdown, modal, tabs, OTP input)

    Accessibility · Scenario · Senior

    You built a custom searchable dropdown in the machine-coding round. Now make it accessible.

  18. ES modules vs CommonJS

    Tooling & testing · Concept · Mid, Senior

    Differences between CommonJS and ES modules? Why does it matter for bundle size and for Node?

Part 2 · 2 questions

JavaScript deep dive

  1. bind / call / apply polyfills

    Polyfills & utilities · Build it · Mid, Senior

    Write Function.prototype.myBind. Make it work with new. Then do myCall without using call/apply.

  2. async/await semantics and error handling

    Async & event loop · Concept · Mid, Senior

    What does async/await compile down to conceptually? How do you handle errors, run things in parallel, and avoid accidental waterfalls?

Part 3 · 1 question

System design

  1. Autocomplete / typeahead (system-level)

    Frontend system design · Design · Senior

    Design a reusable autocomplete component that product teams across the company will use for search, user pickers and address lookup.

Part 4 · 1 question

Production incident

  1. Next.js: hydration errors flood the logs

    Production incidents · Scenario · Mid, Senior

    Since we moved the product page to server rendering, our logs show thousands of hydration errors a day. The page mostly looks fine. Should we care, and how do you fix it?

Part 5 · 3 questions

Techno-managerial

  1. Tech debt or new features

    Techno-managerial · Trade-off · Senior, Lead

    Your team's build takes 25 minutes, flaky tests block merges, and a state library is two major versions behind. Product wants three new features this quarter and no slowdown. How do you…

  2. What to alert on for a checkout page

    Monitoring & on-call · Design · Mid, Senior

    You own the checkout page of an e-commerce site. You get to set up alerts that can wake someone up at night. What would you alert on, and what would you only put on a dashboard?

  3. How you use AI tools day to day

    AI at work · Your experience · Mid, Senior

    How do you use AI tools in your work today? Give me a real example from the last month.

Part 6 · 2 questions

DSA for frontend

  1. Two Sum: return every pair (LeetCode 1)

    DSA · Build it · Mid, Senior

    Given an array and a target, return all pairs that add up to the target. For [1,5,2,6,8,9,10] and 7, return [1,6], [5,2], [2,5], [6,1]. Write it in JavaScript.

  2. Find the matching node in an identical DOM tree (LeetCode 1379)

    DSA for frontend · Build it · Mid, Senior

    You have two identical DOM trees, A and B, and a node inside A. Return the corresponding node in B.

Part 7 · 1 question

Resume deep dive

  1. "Architected / built from scratch" — the whiteboard test

    Resume deep-dive · Your experience · Senior, Lead

    Draw the architecture of the system you 'architected'. Where does the data and state live? How does auth work? How is it built and deployed?

Part 8 · 1 question

Behavioural / HM

  1. Code-review and debugging rounds

    Leadership & behavioural · Write code · Senior

    "Here's a teammate's pull request in the stack you work in. Review it like a real PR." Or: "This app has bugs and four failing tests. Fix them while thinking aloud."

Part 9 · 1 question

Recruiter / HR round

  1. Background verification

    HR & recruiter · Your experience · Mid, Senior, Lead

    Our BGV partner will verify your employment history, including UAN service history, relieving letters and education. Is there anything we should know before we start?

Reading is not answering. Say it out loud.

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview