Question Bank
721 approved questions from the community
Angular treats all values as untrusted by default to prevent XSS attacks.
What is the role of the template compiler in preventing XSS attacks?
Which of the following are advantages of AOT compilation? (Select all that apply)
What are possible data change scenarios that trigger change detection? (Select all that apply)
Which are best practices for security in Angular? (Select all that apply)
What is Angular Universal?
What is content projection in Angular?
What is the forRoot() pattern used for in Angular modules?
Can you set both *ngFor and *ngIf on the same element?
NoopZone can be used to run Angular applications without Zone.js for better performance.
Services should NOT typically be provided in shared modules to avoid multiple instances.
What are Angular Signals?
What is hydration in Angular?
What is Angular Ivy?
Which compilation mode produces pre-compiled templates and smaller bundle sizes?
Which pattern best describes Angular's Dependency Injection system?
What is the purpose of differential loading in Angular CLI?
What are features of Angular Ivy? (Select all that apply)
What is the difference between hidden, aria-hidden="true", and role="presentation"?
In a Single Page Application (SPA), what is the best practice for managing keyboard focus when navigating between routes?