You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-34Lines changed: 20 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,12 +87,15 @@ For the beginners level an interviewer wants to know whether this interviewee is
87
87
88
88
### Understanding Basic Concepts Questions
89
89
1. Why would you use angular over some other framework like react?
90
-
2.Difference between promise and observable?
90
+
2.What is the difference between an observable and a promise?
91
91
3. Tell me the difference between a component and a directive?
92
92
4. Why would you use typescript aka benefits of typescript?
93
93
5. Why different life cycle hooks is needed for a component/directive?
94
-
6. Why angular uses rxjs
95
-
7. what is the purpose of using zone js
94
+
6. Why angular uses rxjs?
95
+
7. What is the purpose of using zone js?
96
+
8. What is the difference between ngOnInit() and constructor() of a component?
97
+
9. When will ngOnInit be called? How would you make use of ngOnInit()?
98
+
96
99
97
100
98
101
@@ -102,67 +105,50 @@ Answers link coming soon
102
105
103
106
## Intermediate Level
104
107
105
-
you built angular2 you played with routing, https, different built process, unit test, etc. here are the questions you could expect
108
+
In the intermediate level, you built medium size angular app and you played with routing, https, different built process, unit test, etc. here are the questions you could expect
106
109
107
-
In the intermediate level you are very comfortable with angular. Hence there is no what questions. Actually you know all of them by now. Hence there will be only how and why type questions
108
110
109
111
110
112
### Essential Terminology Questions
113
+
1. How will you protect a route for authorized user only?
114
+
1. What is a custom pipe and how will you use it?
115
+
1. What is a structural directive?
111
116
1. What is the difference between RouterModule.forRoot() vs RouterModule.forChild()? Why is it important?
112
-
1. What is the difference between an observable and a promise?
113
-
1. What are some of the angular apis that are using observables?
114
117
1. What is the difference between a module's forRoot() and forChild() methods and why do you need it?
115
-
1. What is a structural directive?
116
-
1. What pseudo-class selector targets styles in the element that hosts the component?
117
118
1. What's the difference between dirty, touched, and pristine on a form element?
118
-
1. What is a structural directive?
119
-
1. What is an async pipe?
120
-
1. What kind of data can be used with async pipe?
121
-
1. What is the difference between ngOnInit() and constructor() of a component?
122
-
1. When will ngOnInit be called?
123
-
1. How would you make use of ngOnInit()?
124
-
9. What is authGuard
119
+
1. What is an async pipe? What kind of data can be used with async pipe?
125
120
1. What is injectable? Give me some example.
126
121
9. What is a pure pipe?
127
-
122
+
1. How will you create two way data binding in Angular?
128
123
129
124
130
125
131
126
### Comfortability to Build Medium Size App Questions
132
127
1. How do components communicate with each other?
133
-
1. How do you create two way data binding in Angular?
134
-
1. What is the purpose of NgModule?
135
128
1. How do you decide to create a new NgModule?
129
+
1. How will you inject custom header in your http call?
136
130
1. How do you identify a structural directive in html?
137
-
1. How would you select a custom component to style it.
131
+
1. How would you select a custom component to style it?
138
132
1. How would you select all the child components' elements?
139
-
1. How would you make use of ngOnInit()?
140
133
1. How would you cache an observable data?
141
-
1. How will you inject header
142
-
7. How you create custom pipes
143
-
1. How would you create a custom pipe?
144
-
1. How would you pass data from a parent component to a child component?
145
-
1. How would you pass data from a child component to a parent component?
146
134
1. How would you cache observable data?
147
135
1. How do you mock a service to inject in a unit test?
148
-
1. How do you mock a module in a unit test?
149
136
6. How would you run unit test?
150
-
2. How will you protect a route for authorized user only
137
+
151
138
152
139
153
140
### Core Concepts Understandability Questions
154
-
1. Why angular2 uses decorator
155
-
1. When will ngOnInit be called?
141
+
1. Tell me about feature module and shared module?
142
+
1. What would you not put shared module?
143
+
1. Why angular uses decorator?
144
+
1. What is async validation and how is it done?
156
145
1. Why do you need type definitions?
157
146
1. Which components will be notified when an event is emitted?
158
-
1. Why would you create shared module?
159
-
1. What would you not put shared module?
160
147
1. Why would you export from ngModule?
161
148
1. Why is it bad if SharedModule provides a service to a lazy loaded module?
162
-
1. What is the difference between an observable and a promise?
163
149
1. Can you explain the difference between ActivatedRoute and RouterState?
164
150
1. which service will you put in the module and why
0 commit comments