Sign in to unlock

Get unlimited access to all questions and answers

checked

Get lifetime access

checked

Track progress

checked

Save time

đź‘‹

Hi! Please sign in to edit.

You will receive an email notification when your contribution is accepted.

The fastest way to prepare
for a tech interview

Check our curated list of full-stack, data structures & software architecture interview questions and answers for developers

* If it's yours original answer, you can add a link to your social media account or personal website.
Angular interview questions

Angular interview questions.

Only challenges
Topic progress: 0%
  • 1.

    What is a module, and what does it contain?

    premium question
    completed

    Answer:

  • 2.

    What are pipes? Give me an example.

    premium question
    completed

    Answer:

  • 3.

    What is Routing Guard in Angular?

    premium question
    completed

    Answer:

  • 4.

    How would you run unit test?

    premium question
    completed

    Answer:

  • 5.

    What is the equivalent of "ngShow" and "ngHide" in Angular?

    premium question
    completed

    Answer:

  • 6.

    What is the difference between "@Component" and "@Directive" in Angular?

    premium question
    completed

    Answer:

  • 7.

    What is a bootstrapping module?

    premium question
    completed

    Answer:

  • 8.

    What is the minimum definition of a component?

    premium question
    completed

    Answer:

  • 9.

    What is a component? Why would you use it?

    premium question
    completed

    Answer:

  • 10.

    What are the differences between AngularJS (angular 1.x) and Angular (Angular 2.x and beyond)?

    premium question
    completed

    Answer:

  • 11.

    What is interpolation?

    premium question
    completed

    Answer:

  • 12.

    What is the equivalent of ngShow and ngHide in Angular?

    premium question
    completed

    Answer:

  • 13.

    What is the difference between *ngIf vs hidden?

    premium question
    completed

    Answer:

  • 14.

    What are observables?

    premium question
    completed

    Answer:

  • 15.

    What is the difference between Structural and Attribute directives in Angular?

    premium question
    completed

    Answer:

  • 16.

    What is a service, and when will you use it?

    premium question
    completed

    Answer:

  • 17.

    What are some differences between Angular 2 and 4?

    premium question
    completed

    Answer:

  • 18.

    What's the difference between an Angular component and module?

    premium question
    completed

    Answer:

  • 19.

    How would you protect a component being activated through the router?

    premium question
    completed

    Answer:

  • 20.

    You have an HTML response I want to display. How do I do that?

    premium question
    completed

    Answer:

  • 21.

    What is an observer?

    premium question
    completed

    Answer:

  • 22.

    What is an observable?

    premium question
    completed

    Answer:

  • 23.

    What is the purpose of base href tag?

    premium question
    completed

    Answer:

  • 24.

    What does this line do?

    premium question
    completed

    Answer:

  • 25.

    How can I select an element in a component template?

    premium question
    completed

    Answer:

  • 26.

    How do you categorize data binding types?

    premium question
    completed

    Answer:

  • 27.

    What is the purpose of Wildcard route?

    premium question
    completed

    Answer:

  • 28.

    When would you use eager module loading?

    premium question
    completed

    Answer:

  • 29.

    How to inject base href?

    premium question
    completed

    Answer:

  • 30.

    How do you perform error handling in observables?

    premium question
    completed

    Answer:

  • 31.

    Explain how custom elements works internally?

    premium question
    completed

    Answer:

  • 32.

    What are custom elements?

    premium question
    completed

    Answer:

  • 33.

    What are dynamic components?

    premium question
    completed

    Answer:

  • 34.

    What is the option to choose between inline and external template file?

    premium question
    completed

    Answer:

  • 35.

    Why should ngOnInit be used, if we already have a constructor?

    premium question
    completed

    Answer:

  • 36.

    What is multicasting?

    premium question
    completed

    Answer:

  • 37.

    How do you perform Error handling for HttpClient?

    premium question
    completed

    Answer:

  • 38.

    What is the difference between @Component and @Directive in Angular?

    premium question
    completed

    Answer:

  • 39.

    What is difference between "declarations", "providers" and "import" in NgModule?

    premium question
    completed

    Answer:

  • 40.

    What is the use of codelyzer?

    premium question
    completed

    Answer:

  • 41.

    What is the difference between promise and observable?

    premium question
    completed

    Answer:

  • 42.

    Angular 8: What is Angular Ivy?

    premium question
    completed

    Answer:

  • 43.

    Explain the difference between Promise and Observable in Angular?

    premium question
    completed

    Answer:

  • 44.

    What is Reactive Programming and how to use one with Angular?

    premium question
    completed

    Answer:

  • 45.

    What's new in Angular 6 and why shall we upgrade to it?

    premium question
    completed

    Answer:

  • 46.

    What is Protractor?

    premium question
    completed

    Answer:

  • 47.

    What is subscribing?

    premium question
    completed

    Answer:

  • 48.

    What is router outlet?

    premium question
    completed

    Answer:

  • 49.

    What is router state?

    premium question
    completed

    Answer:

  • 50.

    What is Angular Universal?

    premium question
    completed

    Answer:

  • 51.

    Angular 8: What is Bazel?

    premium question
    completed

    Answer:

  • 52.

    Why would you use a spy in a test?

    premium question
    completed

    Answer:

  • 53.

    Why Incremental DOM Has Low Memory Footprint?

    premium question
    completed

    Answer:

  • 54.

    What happens if you use script tag inside template?

    premium question
    completed

    Answer:

  • 55.

    What is the point of calling "renderer.invokeElementMethod(rendererEl, methodName)"?

    premium question
    completed

    Answer:

  • 56.

    What is Redux and how does it relate to an Angular app?

    premium question
    completed

    Answer:

  • 57.

    What is AOT?

    premium question
    completed

    Answer:

  • 58.

    Can you explain the difference between Promise and Observable in Angular? In what scenario can we use each case?

    premium question
    completed

    Answer:

  • 59.

    What's new in Angular 8?

    premium question
    completed

    Answer:

  • 60.

    Explain the difference between "Constructor" and "ngOnInit"

    premium question
    completed

    Answer:

  • 61.

    What are the utility functions provided by RxJS?

    premium question
    completed

    Answer:

  • 62.

    What is activated route?

    premium question
    completed

    Answer:

  • 63.

    Do I need a Routing Module always?

    premium question
    completed

    Answer:

  • 64.

    What is a parameterized pipe?

    premium question
    completed

    Answer:

  • 65.

    What is TestBed?

    premium question
    completed

    Answer:

  • 66.

    What are the ways to control AOT compilation?

    premium question
    completed

    Answer:

  • 67.

    What are the Core Dependencies of Angular 7?

    premium question
    completed

    Answer:

  • 68.

    Angular 8: Explain Lazy Loading in Angular 8?

    premium question
    completed

    Answer:

  • 69.

    How to bundle an Angular app for production?

    premium question
    completed

    Answer:

  • 70.

    How would you control size of an element on resize of the window in a component?

    premium question
    completed

    Answer:

  • 71.

    What is Zone in Angular?

    premium question
    completed

    Answer:

  • 72.

    When should I store the "Subscription" instances and invoke unsubscribe() during the NgOnDestroy life cycle and when can I simply ignore them?

    premium question
    completed

    Answer:

  • 73.

    How do you create application to use scss? What changed for Angular 6?

    premium question
    completed

    Answer:

  • 74.

    How would you insert an embedded view from a prepared TemplateRef?

    premium question
    completed

    Answer:

  • 75.

    Why do we need compilation process?

    premium question
    completed

    Answer:

  • 76.

    Explain the purpose of Service Workers in Angular

    premium question
    completed

    Answer:

  • 77.

    What is the need for SystemJS in Angular?

    premium question
    completed

    Answer:

  • 78.

    What is Reactive programming and how does it relate to Angular?

    premium question
    completed

    Answer:

  • 79.

    Are there any pros/cons (especially performance-wise) in using local storage to replace cookie functionality?

    premium question
    completed

    Answer:

  • 80.

    What is Ivy Renderer? Is it supported by Angular 7?

    premium question
    completed

    Answer:

  • 81.

    What are the lifecycle hooks for components and directives?

    premium question
    completed

    Answer:

  • 82.

    What would be a good use for NgZone service?

    premium question
    completed

    Answer:

  • 83.

    What is the difference between pure and impure pipe?

    premium question
    completed

    Answer:

  • 84.

    What is incremental DOM? How is it different from virtual DOM?

    premium question
    completed

    Answer:

  • 85.

    How to detect a route change in Angular?

    premium question
    completed

    Answer:

  • 86.

    Name some security best practices in Angular

    premium question
    completed

    Answer:

  • 87.

    What are the advantages with AOT?

    premium question
    completed

    Answer:

  • 88.

    Angular 8: Why we should use Bazel for Angular builds?

    premium question
    completed

    Answer:

  • 89.

    Name and explain some Angular Module Loading examples

    premium question
    completed

    Answer:

  • 90.

    What does "detectChanges" do in Angular jasmine tests?

    premium question
    completed

    Answer:

  • 91.

    What are the mapping rules between Angular component and custom element?

    premium question
    completed

    Answer:

  • 92.

    Do I need to bootstrap custom elements?

    premium question
    completed

    Answer:

  • 93.

    When does a lazy loaded module is loaded?

    premium question
    completed

    Answer:

  • 94.

    What does a just-in-time (JIT) compiler do (in general)?

    premium question
    completed

    Answer:

  • 95.

    Why would you use lazy loading modules in Angular app?

    premium question
    completed

    Answer:

  • 96.

    Why would you use renderer methods instead of using native element methods?

    premium question
    completed

    Answer:

  • 97.

    What is ngUpgrage?

    premium question
    completed

    Answer:

  • 98.

    Angular 9: What are some new features in Angular 9?

    premium question
    completed

    Answer:

  • 99.

    What are observable creation functions?

    premium question
    completed

    Answer:

  • 100.

    When to use query parameters versus matrix parameters?

    premium question
    completed

    Answer:

  • 101.

    What's new in Angular 7?

    premium question
    completed

    Answer:

  • 102.

    Name some differences between SystemJS vs WebPack?

    premium question
    completed

    Answer:

  • 103.

    Why did the Google team go with incremental DOM instead of virtual DOM?

    premium question
    completed

    Answer:

  • 104.

    What is the difference between BehaviorSubject vs Observable?

    premium question
    completed

    Answer:

  • 105.

    Is there no equivalent to $scope.emit() or $scope.broadcast() in Angular?

    premium question
    completed

    Answer:

  • 106.

    Angular 9: How Would You Compare View Engine vs Ivy?

    premium question
    completed

    Answer:

  • 107.

    Why Incremental DOM is Tree Shakable?

    premium question
    completed

    Answer:

  • 108.

    Why angular uses url segment?

    premium question
    completed

    Answer:

  • 109.

    Just-in-Time (JiT) vs Ahead-of-Time (AoT) compilation. Explain the difference.

    premium question
    completed

    Answer:

  • 110.

    Angular 9: What is Locality principle for Ivy?

    premium question
    completed

    Answer:

  • 111.

    What is the default compilation for Angular 5?

    premium question
    completed

    Answer:

  • 112.

    Do you know how you can run angularJS and angular side by side?

    premium question
    completed

    Answer:

  • 113.

    Could you provide some particular examples of using ngZone?

    premium question
    completed

    Answer:

  • 114.

    How would you extract webpack config from angular cli project?

    premium question
    completed

    Answer:

  • 115.

    Angular 8: How does Ivy affect the (Re)build time?

    premium question
    completed

    Answer:

  • 116.

    Angular 8: What are some changes in Location module?

    premium question
    completed

    Answer:

  • 117.

    Angular 9: Explain improvements in Tree-Shaking

    premium question
    completed

    Answer:

  • 118.

    Could I use jQuery with Angular?

    premium question
    completed

    Answer:

  • 119.

    How to set headers for every request in Angular?

    premium question
    completed

    Answer:

  • 120.

    What is the Angular equivalent to an AngularJS "$watch"?

    premium question
    completed

    Answer:

One tip that got me hired by Google, Microsoft, and Stripe

I've worked for Microsoft, Google, Stripe, and received offers from many other companies. One thing I learned when I was interviewing myself is that standard interview tips are woefully inadequate.

Reverse Tech Interview: Questions to Stump an Interviewer

Few people want to get into an uncomfortable environment or an unprofitable company with no prospects. If you’re wondering how to get a real feel for a company during an interview, you’re welcome. I’ll give a list of questions that interviewers don’t usually expect...

How to become a programmer, move to the US, and get a dream job

Are you curious about what you need to do to earn more than $15.000 a month, drive a Tesla, live in sunny California, and work at Google, Apple, Facebook, or Amazon?

11 Reactive Systems interview questions and answers for software engineers

Reactive systems are an architectural style that allows multiple individual applications to blend into one unit, reacting to their environment, while staying aware of each other. Here is a list of coding interview questions on Reactive Systems to help you get ready for your next data struc...

. Reactive Systems
34 Microservices interview questions and answers for software engineers

Microservice architecture – a variant of the service-oriented architecture structural style – arranges an application as a collection of loosely coupled services. In a microservices architecture, services are fine-grained and the protocols are lightweight. Here is a list of coding intervie...

. Microservices
7 Layering & Middleware interview questions for developers

Middleware in the context of distributed applications is software that provides services beyond those provided by the operating system to enable the various components of a distributed system to communicate and manage data. Middleware supports and simplifies complex distributed application...

. Layering & Middleware
55 Docker interview questions and answers for software engineers

Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers. Here is a list of coding interview questions on Docker to help you get ready for your next data structures interview in 2021.

. Docker
23 Databases interview questions and answers for software engineers

A database is an organized collection of data, generally stored and accessed electronically from a computer system. Where databases are more complex they are often developed using formal design and modeling techniques. Here is a list of coding interview questions on Databases to help you g...

. Databases
21 Concurrency interview questions and answers for software engineers

In computer science, concurrency is the ability of different parts or units of a program, algorithm, or problem to be executed out-of-order or in partial order, without affecting the final outcome. Here is a list of coding interview questions on Concurrency to help you get ready for your n...

. Concurrency
13 CAP Theorem interview questions and answers for software engineers

In theoretical computer science, the CAP theorem, also named Brewer's theorem after computer scientist Eric Brewer, states that it is impossible for a distributed data store to simultaneously provide more than two out of the following three guarantees: Consistency: Every read receives the ...

. CAP Theorem
Load more posts

Features

folder icon

Access all answers

Get the inside track on what to expect in your next tech interview. We offer you a collection of high quality technical interview questions to help you prepare for your next coding interview.

graph icon

Track progress

A smart interface helps you track your progress and focus on the topics you need. You can search through questions or sort them by difficulty or type.

clock icon

Save time

Save tens of hours searching for information on hundreds of low-quality sites designed to drive traffic and make money from advertising.

Land a six-figure job at one of the top companies.

amazon logo facebook logo google logo microsoft logo uber logo
Prepare for a technical interview

Get hired with our
tech interview questions & answers