Angular Interview Questions - Coding Interview 2024
Introduction
Typescript and RxJS sections are important
(00:56)
Pdf file
(01:02)
I prepared source code for you
(00:18)
Typescript
Typescript pros and cons
(02:35)
How to create Typescript interface?
(03:18)
How to define Typescript array?
(02:42)
What is type assertion in Typescript?
(02:33)
What is void and unknown in Typescript?
(05:17)
Create function annotation in Typescript
(04:56)
What is the purpose of tsconfig.json?
(02:53)
What is elvis operator in Typescript?
(02:32)
Why any is bad in Typescript?
(02:45)
What are enums in Typescript?
(04:26)
How to create custom types in Typescript?
(04:21)
What are generics in Typescript?
(07:20)
RxJS
What are pros and cons of RxJS
(03:02)
How to transform data in RxJS?
(04:59)
How filter works in RxJS?
(04:19)
How to implement error handling in RxJS?
(07:39)
What does combineLatest operator work in RxJS?
(03:20)
How Subject and Behaviorsubject work in RxJS?
(05:50)
Observables vs Promises - what is the difference?
(02:39)
Cold vs hot observables - what is the difference?
(02:59)
ConcatMap vs SwitchMap vs MergeMap vs Map vs ExhaustMap in RxJS
(08:05)
Angular
What is SPA?
(03:59)
What are pros and cons of Angular compared to React?
(03:08)
How does Angular work?
(03:03)
Sharing data between components in Angular
(09:44)
What ways of binding in Angular do you know?
(05:26)
What is HTML in Angular?
(01:07)
What are services in Angular?
(04:44)
How to make HTTP Request in Angular?
(07:09)
How does dependency injection work?
(06:16)
How to use a router in Angular?
(07:30)
What are life cycle hooks in Angular?
(02:54)
What are ViewChild and ViewChildren in Angular?
(07:47)
Constructor vs NgOnInit in Angular - what is the difference?
(03:49)
Unsubscribe in Angular - why is it important?
(10:27)
What are change detection and onPush in Angular?
(10:46)
Null in async pipe - what is the problem here?
(04:24)
How to handle errors in async pipe in Angular
(04:07)
What is the difference in ngContainer, ngTemplate, ngContent, ngTemplateOutlet?
(09:23)
How to create an Angular animation?
(08:50)
How as keyword works in Angular?
(04:28)
AOT vs JIT compilation - what is the difference?
(02:08)
Component vs Directive - what is the difference?
(01:53)
Structural directive vs component directive vs attribute directive
(01:45)
Create a directive which changes the background of the element
(02:45)
How do pipes in Angular work?
(04:28)
Why is it bad to call a function in the Angular template?
(05:17)
What is Angular Ivy?
(01:18)
What is Angular interceptor?
(05:17)
What is Angular generator?
(02:18)
How to protect Angular route from accessing?
(05:46)
What is lazy loading in Angular?
(03:35)
What is forRoot in Angular?
(05:08)
What is SSR in Angular or Service Side Rendering?
(04:07)
What is ngZone in Angular?
(06:50)
How do Angular forms work?
(12:25)
How to fix Angular input has no initializer error?
(04:31)
NgRx - what is this and how does it work?
(28:08)
Angular Inject
(08:17)
Angular standalone components
(07:52)
Angular signals
(09:15)
Angular control flow
(04:36)
Angular defer
(10:44)
What's next?
Homework
(00:35)
How to define Typescript array?
Download
sourceCode.zip