Angular Web Framework Cheat Sheet 2026

The 30 highest-yield Angular Web Framework facts, distilled from real exam questions. Print it, save it as a PDF, or study it here — free, no sign-up.

50 questions
60 min time limit
70% to pass
  1. In a web browser, how would you display dates? Use the Angular pipe class in the template
  2. Which Angular strategy checks only the current component and its ancestors when an input reference changes? OnPush
  3. Which Angular signal API creates a writable reactive value introduced in Angular 16+? signal()
  4. Which applications must be installed before you can download Angular? Node.js
  5. Which Angular feature delays loading a module until a user navigates to its associated route? Lazy loading
  6. What is the purpose of the computed() function in Angular Signals? Derive a read-only value from one or more signals
  7. What methods would you use to test your NativeScript Angular app? Run it in a web-browser
  8. What is the purpose of the Validators class? Provides built-in validation functions like required, minLength, maxLength, and pattern
  9. What does 'providedIn: root' mean in an @Injectable() decorator? The service is available application-wide as a singleton through the root injector
  10. What is the @Output() decorator and EventEmitter used for? To emit custom events from a child component to its parent
  11. What are structural directives in Angular? Directives like *ngIf and *ngFor that change the DOM layout by adding or removing elements
  12. How do you create a custom validator in Angular? By writing a function that returns null for valid or an error object for invalid input
  13. In the Flux/Redux pattern used by NgRx, what is the single source of truth for application state? Store
  14. In a web application, how would you create custom event handling? Through a combination of Outputs Decorators and EventEmitters
  15. What is the purpose of the Angular CLI command `ng build --configuration production`? Compiles the app with optimizations like minification and tree-shaking
  16. What does calling markForCheck() on a component using OnPush change detection do? Marks the component and its ancestors to be checked on the next cycle
  17. How do you pass query string parameters to an HttpClient.get() request in Angular? Use the params option with an HttpParams object or plain object
  18. Which HttpClient request option causes it to return the full HTTP response including status code and headers? observe: 'response'
  19. How do you make an HTTP request that bypasses all registered HttpInterceptors? Inject HttpBackend directly and use it to dispatch the request
  20. In Angular's default change detection, what triggers the detection cycle? Async events like DOM events, timers, and HTTP responses via Zone.js
  21. In an Angular application, where would you put routing URL information? Use ngStyle from within the template
  22. Which Angular directive efficiently re-renders only changed items in a list by tracking identity? *ngFor with trackBy
  23. What is a service in Angular? A class with a focused purpose that provides shared functionality across components
  24. What does the on() helper inside createReducer() do? Registers a case handler for a specific action type
  25. What is the difference between a Subject and an Observable? A Subject is both an Observable and an Observer — it can emit values and be subscribed to
  26. What is the difference between a service and a component in Angular? Components manage UI and views; services contain reusable business logic and data access
  27. What NgRx operator is used inside createEffect() to handle errors without killing the effect stream? catchError with EMPTY or of()
  28. What ethical standards guide Angular professionals in their work? Integrity, objectivity, confidentiality, and professional competence in all engagements
  29. In a FormControl, how would you implement objects? By specifying start and tags
  30. What does the pipe() method do in RxJS? Chains multiple operators together to transform, filter, or combine Observable streams