Question Bank
3705 approved questions from the community
Observables provide support for passing messages between publishers and subscribers in Angular applications.
What is an Angular template?
What is the main difference between a Component and a Directive?
What decorator is used to define an Angular component?
You can chain multiple pipes together in Angular templates.
Angular automatically sanitizes script tags inside templates to prevent XSS attacks.
`*ngFor` is used to repeat DOM elements for each item in an iterable.
Data binding allows communication between a component and the DOM.
A module in Angular can declare components, directives, and pipes.
Directives add behavior to an existing DOM element or component instance.
You can create aliasing for @Input and @Output properties in Angular components.
AngularJS and Angular are the same framework.
Which of the following are template expression operators in Angular? (Select all that apply)
Which CSS classes are provided by ngModel for form validation? (Select all that apply)
Which are common NgModule metadata properties? (Select all that apply)
What are possible data change scenarios that trigger change detection? (Select all that apply)
Which are types of injector hierarchies in Angular? (Select all that apply)
Which are best practices for security in Angular? (Select all that apply)
When should you use a button instead of a link?
Headings should be used primarily for styling text to look bigger or bolder on a page.