Sector file // angular
ANGULARDECODED.
Components, DI & RxJS
Easy
5 questionsWhat are template reference variables?
Frontend ยท 635 views ยท template-ref
How do you configure dynamic base href in Angular builds for different environments?
Frontend ยท 625 views ยท build, cli
How do child components emit events to parents?
Frontend ยท 363 views ยท output, eventemitter
What is the fixture.detectChanges() method in Angular testing, and when should you call it?
Frontend ยท 127 views ยท testing, change-detection
What are the types of data binding in Angular?
Frontend ยท 84 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 ยท 838 views ยท directives
What are @ViewChild and @ContentChild?
Frontend ยท 789 views ยท viewchild, queries
Explain the difference between Shadow DOM, Emulated, and None View Encapsulation with compile output.
Frontend ยท 717 views ยท styles, encapsulation
What is the difference between reactive and template-driven forms?
Frontend ยท 620 views ยท forms
What is trackBy in ngFor and why use it?
Frontend ยท 565 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 ยท 973 views ยท change-detection, performance
How does compilation work under the hood in Ivy?
Frontend ยท 958 views ยท ivy, under-the-hood
How does SSR hydration work in Angular โ non-destructive hydration and mismatches?
Frontend ยท 873 views ยท ssr, hydration, angular-18
What is Angular Universal / SSR?
Frontend ยท 732 views ยท ssr, universal
What is the difference between ElementRef, TemplateRef, and ViewContainerRef?
Frontend ยท 692 views ยท components, views
What is ViewEncapsulation in Angular?
Frontend ยท 488 views ยท view-encapsulation
What is the difference between afterRender and afterNextRender lifecycle hooks?
Frontend ยท 424 views ยท lifecycle, rendering
Seen a Angular question that is not here? Add it and help the next candidate.
Share a question