Angular JS MCQs with answers
1,010 angular js multiple choice questions with the correct answer and a short explanation for each. Last updated 5 Jan 2026. Showing page 2 of 51.
- Which Angular feature replaces constructor injection in functional APIs?
- What does trackBy function improve in *ngFor?
- Which operator is best for sequential HTTP calls?
- What is the main benefit of standalone components?
- Which directive is used to dynamically load templates?
- Which lifecycle hook is used to clean up subscriptions?
- What does providedIn: 'root' do?
- Which Angular feature helps in reducing bundle size?
- What is a pure pipe?
- Which strategy allows preloading lazy-loaded modules?
- Which guard prevents loading of lazy-loaded modules?
- What does ViewEncapsulation.ShadowDom do?
- Which decorator is used to make a class injectable?
- Which RxJS operator is used to cancel previous HTTP calls?
- What does the async pipe do?
- Which Angular lifecycle hook is called after content projection?
- What is the main purpose of ChangeDetectionStrategy.OnPush?
- Which operator is used to bind data from component to template?
- Which service is used to make HTTP calls in Angular?
- Which file is the root module of an Angular application?
About the Angular JS question set
These questions are contributed by users and published after review. Each page shows all four options, the correct answer and an explanation, so you can revise a topic in a few minutes. Start from page one for the newest additions, or open any question and use the topic tags under it to reach related sets.