Sector file // angular
ANGULARDECODED.
Components, DI & RxJS
Easy
13 questionsStart hereExplain the new Control Flow (@if, @for, @switch) and how it compares to structural directives.
Frontend · 940 views · control-flow, directives
What is the difference between the constructor and ngOnInit?
Frontend · 896 views · lifecycle
Explain the difference between FormGroup.patchValue() and FormGroup.setValue().
Frontend · 832 views · forms
What are template reference variables?
Frontend · 634 views · template-ref
How do you configure dynamic base href in Angular builds for different environments?
Frontend · 623 views · build, cli
What are components and modules in Angular?
Frontend · 509 views · components, modules
What is Angular and how does it differ from AngularJS?
Frontend · 449 views · angular, basics
What is the purpose of ngOnChanges and how does it capture changes in @Input properties?
Frontend · 428 views · lifecycle, inputs
Medium
65 questionsWhat is the difference between @ViewChildren and @ViewChild?
Frontend · 1.2k views · components, queries
What is a route resolver and when is it useful?
Frontend · 1.2k views · resolver, data
Explain how to perform unit testing on components with Signals using TestBed.
Frontend · 1.1k views · testing, signals
How do you handle SSR hydration mismatch errors using ngSkipHydration?
Frontend · 1.1k views · ssr, hydration, troubleshooting
What are route guards in Angular?
Frontend · 1.0k views · routing, guards
What is standard content projection vs. Multi-Slot Content Projection?
Frontend · 1.0k views · content-projection
What is the APP_INITIALIZER token and how is it used to load configuration at startup?
Frontend · 1.0k views · bootstrap, di
How do functional interceptors work with provideHttpClient()?
Frontend · 988 views · http, interceptors, standalone
Hard
43 questionsWhat is the difference between AOT and JIT compilation?
Frontend · 1.2k views · compilation, aot
What are security vulnerabilities in Angular apps, and how does DomSanitizer prevent XSS?
Frontend · 1.2k views · security, xss
What are Deferrable Views (@defer) and how do they work in Angular 17+?
Frontend · 1.2k views · performance, routing, defer
viewChild() signal queries vs @ViewChild decorator — what changed?
Frontend · 1.1k views · viewchild, signals, angular-18
What does ChangeDetectorRef do?
Frontend · 1.1k views · change-detection, cdr
How do you handle micro-frontend architecture in Angular using Module Federation?
Frontend · 1.1k views · architecture, micro-frontends
What are signal inputs and model() in modern Angular?
Frontend · 1.0k views · signals, inputs
What is the purpose of the KeyValueDiffers and IterableDiffers services?
Frontend · 1.0k views · performance, advanced
Seen a Angular question that is not here? Add it and help the next candidate.
Share a question