Sector file // angular
ANGULARDECODED.
Components, DI & RxJS
Easy
5 questionsWhat 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
How do child components emit events to parents?
Frontend ยท 362 views ยท output, eventemitter
What is the fixture.detectChanges() method in Angular testing, and when should you call it?
Frontend ยท 125 views ยท testing, change-detection
What are the types of data binding in Angular?
Frontend ยท 82 views ยท data-binding
Medium
12 questionsWhat is the difference between @ViewChildren and @ViewChild?
Frontend ยท 1.2k views ยท components, queries
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 is a directive and what are the types?
Frontend ยท 837 views ยท directives
What are @ViewChild and @ContentChild?
Frontend ยท 788 views ยท viewchild, queries
Explain the difference between Shadow DOM, Emulated, and None View Encapsulation with compile output.
Frontend ยท 715 views ยท styles, encapsulation
What is the difference between reactive and template-driven forms?
Frontend ยท 619 views ยท forms
What is trackBy in ngFor and why use it?
Frontend ยท 564 views ยท ngfor, trackby
Hard
12 questionsWhat are security vulnerabilities in Angular apps, and how does DomSanitizer prevent XSS?
Frontend ยท 1.2k views ยท security, xss
How does change detection work in Angular?
Frontend ยท 970 views ยท change-detection, performance
How does compilation work under the hood in Ivy?
Frontend ยท 956 views ยท ivy, under-the-hood
How does SSR hydration work in Angular โ non-destructive hydration and mismatches?
Frontend ยท 872 views ยท ssr, hydration, angular-18
What is Angular Universal / SSR?
Frontend ยท 730 views ยท ssr, universal
What is the difference between ElementRef, TemplateRef, and ViewContainerRef?
Frontend ยท 691 views ยท components, views
What is ViewEncapsulation in Angular?
Frontend ยท 485 views ยท view-encapsulation
What is the difference between afterRender and afterNextRender lifecycle hooks?
Frontend ยท 423 views ยท lifecycle, rendering
Seen a Angular question that is not here? Add it and help the next candidate.
Share a question