Angular Questions
75+ Angular Questions and Answers
1 . Why Angular?
2 . What are the directives ?
3 . What are the order of angular lifecycle hooks execution ?
4 . What is lifecycle hooks ?
5 . What is change detection ?
6 . What is the use of ngOnChanges?
7 . Difference between Constructor and ngOnInit ?
8 . What is the use of app root in Angular?
9 . What is Ahead of Time (AOT) compiler ?
10 . What is the Just in Time (JIT) compiler ?
11 . What is the entry point of Angular application?
12 . What is TypeScript and why it is used?
13 . What is destroy in Angular?
14 . What does bootstrapping in Angular mean?
15 . What is NgModule ?
16 . What are exports in NgModule?
17 . What are imports in NgModule?
18 . What is declaration in Angular Module ?
19 . What is angular markup ?
20 . What is providers in angular ?
21 . What is injector in angular ?
22 . How angular injector works ?
23 . What is Components?
24 . When is Angular Injector is created ?
25 . What is BrowserModule used for?
26 . How do you define a component styles?
27 . How do you define a component template?
28 . Why Use Property Binding?
29 . What is Interpolation in angular ?
30 . Why we need attribute binding in angular ?
31 . What is event bind?
32 . Difference between One-way & Two-way Binding
33 . What is a pipe
34 . What Is Angular?
35 . What is structural directive and attribute directive in Angular?
36 . What is injector in angular ?
37 . What does @injectable decorator do?
38 . What is useClass in Angular?
39 . What is useExisting in Angular?
40 . What is root in provider in Angular?
41 . How we define a wildcard route in angular
42 . When should you use a router outlet?
43 . What is Lazy Loading?
44 . What are Angular guards?
45 . What are the core building block of angular
46 . What is difference between CanActivate and canActivateChild?
47 . How many change detectors are in Angular?
48 . What are the practical differences between template driven and Reactive forms?
49 . How many types of data binding are there in Angular?
50 . What is a template variable?
51 . What is use of ng-container in angular
52 . Difference between ng-container and ng-template tags
53 . How does injection work in Angular?
54 . What do you mean by singleton design pattern?
55 . What are ways to create a singleton service in angular?
56 . Difference between Angular and AngularJS
57 . What is RxJS used for?
58 . What is metadata?
59 . How many lifecycle hooks are there in Angular?
60 . Why do we use service in Angular?
61 . What is the dependency injection?
62 . Where is async pipe used?
63 . What is * ngFor directive used for?
64 . What is custom pipe in Angular?
65 . What are observables?
66 . What is the difference between promise and observable?
67 . What are templates in Angular
68 . How to create observable from promise
69 . What is router in Angular?
70 . What is the use of DomSanitizer?
71 . What is rendering engine in Angular?
72 . What is a ViewChild Angular?
73 . What is HTTP interceptors in Angular?
74 . What Is property binding in angular ?
75 . What is the difference between properties and attributes in HTML?
Copyright ©2022, Angular Questions and Answers