Sector file // angular
ANGULARDECODED.
Components, DI & RxJS
Easy
5 questionsHow do you configure dynamic base href in Angular builds for different environments?
Frontend · 623 views · build, cli
What is Angular and how does it differ from AngularJS?
Frontend · 449 views · angular, basics
What does the Angular CLI provide?
Frontend · 336 views · cli
What are standalone components?
Frontend · 217 views · standalone, modules
What is the fixture.detectChanges() method in Angular testing, and when should you call it?
Frontend · 125 views · testing, change-detection
Medium
14 questionsWhat 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
How does catchError work in RxJS, and how do you return a fallback value?
Frontend · 939 views · rxjs, error-handling
inject() vs constructor injection — when should you use each?
Frontend · 864 views · di, inject, angular-14
What is the role of NgRx Effects, and why do we separate side effects from reducers?
Frontend · 840 views · ngrx, architecture
How do you mock services in Angular unit tests using Jasmine/Jest spies?
Frontend · 799 views · testing, services
What do @HostListener and @HostBinding do?
Frontend · 691 views · hostlistener, hostbinding
How do you handle errors and retries globally with interceptors?
Frontend · 531 views · interceptor, retry
Hard
14 questionsWhat are security vulnerabilities in Angular apps, and how does DomSanitizer prevent XSS?
Frontend · 1.2k views · security, xss
How do you handle micro-frontend architecture in Angular using Module Federation?
Frontend · 1.1k views · architecture, micro-frontends
Signals signal()/computed()/effect() vs RxJS — when do you use which in Angular 18+?
Frontend · 1k views · signals, rxjs, reactivity
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
What is Angular Universal / SSR?
Frontend · 730 views · ssr, universal
Explain the shareReplay operator in RxJS and how it prevents duplicate HTTP requests.
Frontend · 542 views · rxjs, caching
What is the difference between switchMap, mergeMap, concatMap, and exhaustMap?
Frontend · 487 views · rxjs, operators
Seen a Angular question that is not here? Add it and help the next candidate.
Share a question