INTERVIEW QUESTIONS

Angular Interview Questions

Practice Angular prompts by theme and build clearer interview answers.

Practice by topicAngular topic lensesClear answer prompts

Showing 18 Angular Core practice prompts

A

ANGULAR

What is Angular and how does it differ from AngularJS?

Angular (versions 2+) is a complete TypeScript-based rewrite of AngularJS (1.x). While AngularJS used two-way data binding with `$scope` and controller architecture, modern Angular uses a component-based architecture, unidirectional data flow, hierarchical dependency injection, Ahead-of-Time (AOT) compilation, and modern reactive primitives like Signals and RxJS.
◦ core
A

ANGULAR

What is a Component in Angular?

A Component is the fundamental building block of an Angular user interface. It consists of a TypeScript class decorated with `@Component({ selector, templateUrl/template, styleUrls/styles, standalone })`, an HTML template, CSS styling, and component logic managing user interaction and data presentation.
◦ core
A

ANGULAR

What are Angular Directives and what types exist?

Directives add behavior or transform DOM elements. There are three types: 1) Component Directives (directives with templates), 2) Structural Directives (alter DOM layout by adding/removing elements, historically `*ngIf`, `*ngFor`, or modern `@if`, `@for` control flow), and 3) Attribute Directives (modify the appearance or behavior of an existing element, e.g., `ngClass`, `ngStyle`, or custom directives).
◦ core
A

ANGULAR

What are Pipes in Angular and how are they used?

Pipes are functions in template expressions that transform input data for display without modifying the underlying model. Angular provides built-in pipes such as `date`, `uppercase`, `lowercase`, `currency`, `percent`, `json`, and `async`. Custom pipes are created using the `@Pipe` decorator with the `PipeTransform` interface.
◦ core
A

ANGULAR

What is Data Binding and what binding mechanisms exist in Angular templates?

Data binding synchronizes data between the TypeScript component and its HTML template. Modern Angular supports: 1) Interpolation `{{ value }}`, 2) Property binding `[property]="value"`, 3) Event binding `(event)="handler($event)"`, and 4) Two-way binding `[(ngModel)]="value"` (via `FormsModule`).
◦ core

Your next interview is closer than you think.

Practice smarter and land better opportunities.

✓ Start with the free plan✓ No credit card✓ Cancel anytime
Start preparing free