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
+60-67Lines changed: 60 additions & 67 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ For the beginners level an interviewer wants to know whether this interviewee is
100
100
101
101
102
102
103
-
Answers link coming soon
103
+
[Answers link coming soon ]
104
104
105
105
106
106
## Intermediate Level
@@ -111,102 +111,95 @@ In the intermediate level, you built medium size angular app and you played with
111
111
112
112
### Essential Terminology Questions
113
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?
116
-
1. What is the difference between RouterModule.forRoot() vs RouterModule.forChild()? Why is it important?
117
-
1. What is the difference between a module's forRoot() and forChild() methods and why do you need it?
118
-
1. What's the difference between dirty, touched, and pristine on a form element?
119
-
1. What is an async pipe? What kind of data can be used with async pipe?
120
-
1. What is injectable? Give me some example.
114
+
2. What is a custom pipe and how will you use it?
115
+
3. What is a structural directive?
116
+
4. What is the difference between RouterModule.forRoot() vs RouterModule.forChild()? Why is it important?
117
+
5. What is the difference between a module's forRoot() and forChild() methods and why do you need it?
118
+
6. What's the difference between dirty, touched, and pristine on a form element?
119
+
7. What is an async pipe? What kind of data can be used with async pipe?
120
+
8. What is injectable? Give me some example.
121
121
9. What is a pure pipe?
122
-
1. How will you create two way data binding in Angular?
122
+
10. How will you create two way data binding in Angular?
123
123
124
124
125
125
126
126
### Comfortability to Build Medium Size App Questions
127
127
1. How do components communicate with each other?
128
-
1. How do you decide to create a new NgModule?
129
-
1. How will you inject custom header in your http call?
130
-
1. How do you identify a structural directive in html?
131
-
1. How would you select a custom component to style it?
132
-
1. How would you select all the child components' elements?
133
-
1. How would you cache an observable data?
134
-
1. How would you cache observable data?
135
-
1. How do you mock a service to inject in a unit test?
136
-
6. How would you run unit test?
128
+
2. How do you decide to create a new NgModule?
129
+
3. How will you inject custom header in your http call?
130
+
4. How do you identify a structural directive in html?
131
+
5. How would you select a custom component to style it?
132
+
6. How would you select all the child components' elements?
133
+
7. How would you cache an observable data?
134
+
8. How would you cache observable data?
135
+
9. How do you mock a service to inject in a unit test?
136
+
10. How would you run unit test?
137
137
138
138
139
139
140
140
### Core Concepts Understandability Questions
141
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?
145
-
1. Why do you need type definitions?
146
-
1. Which components will be notified when an event is emitted?
147
-
1. Why would you export from ngModule?
148
-
1. Why is it bad if SharedModule provides a service to a lazy loaded module?
149
-
1. Can you explain the difference between ActivatedRoute and RouterState?
150
-
1. which service will you put in the module and why
151
-
142
+
2. What would you not put shared module?
143
+
3. Why angular uses decorator?
144
+
4. What is async validation and how is it done?
145
+
5. Why do you need type definitions?
146
+
6. Which components will be notified when an event is emitted?
147
+
7. Why would you export from ngModule?
148
+
8. Why is it bad if SharedModule provides a service to a lazy loaded module?
149
+
9. Can you explain the difference between ActivatedRoute and RouterState?
150
+
10. Which service will you put in the module and why?
152
151
153
152
154
153
155
-
answers coming soon
154
+
[Answers link coming soon]
156
155
157
156
158
157
159
158
## Expert Level
160
159
161
-
you just built hello world in angular2+ and may be you followed some video or blog and now you are brave enough to tell the interviewer that you know little bit angular2.
160
+
You are a rockstar in angular. you can teach other. you can lead a team for angular project. you should know the answer to the following questions.
162
161
163
162
### Performance and Edge case Related Terminology
164
-
1. what is factory Component
165
-
1. What is lazy loading
166
-
1. what is AOT
167
-
1. What are some of the Angular Style Guide suggestions you follow on your code? Why?
168
-
1. what is wildcard state?
169
-
1. How do you put animation between two states?
170
-
1. How will you do lazy loading in angular application
171
-
1. What would be a good use for NgZone service?
172
-
1. How would you protect a component being activated through the router?
173
-
1. How would you insert an embedded view from a prepared TemplateRef?
174
-
163
+
1. What is factory Component?
164
+
2. What is lazy loading and why will you use it?
165
+
3. What is Ahead of time (AOT) compilation and why will you use it?
166
+
4. What are some of the Angular Style Guide suggestions you follow on your code? Why?
167
+
5. What is wildcard state?
168
+
6. How do you put animation between two states?
169
+
7. What would be a good use for NgZone service?
170
+
8. How would you protect a component being activated through the router?
171
+
9. How would you insert an embedded view from a prepared TemplateRef?
172
+
10. What is attribute directive and why will you use it?
175
173
176
174
### Master a Large App Related Questions
177
-
1. How will you http interceptor
178
-
1. How you parallelize multiple observable call
179
-
1. how will you put one async call before another
180
-
1. How can you use web worker in angular app?
181
-
1. What tools would you use to find a performance issue in your code?
182
-
1. What are some ways you may improve your website's scrolling performance?
183
-
1. Explain the difference between layout, painting and compositing.
184
-
1. When does a lazy loaded module is loaded?
185
-
1. How do you identify a structural directive in html?
186
-
1. How would you create a component to display error messages throughout your application?
187
-
1. How can you cancel a router navigation?
188
-
1. why angular uses url segment?
189
-
2. How would you animate routing?
175
+
1. How will you intercept http to inject header to each http call?
176
+
2. How would you create a component to display error messages throughout your application?
177
+
3. How you parallelize multiple observable call?
178
+
4. How will you put one async call before another?
179
+
5. How can you use web worker in angular app?
180
+
6. What tools would you use to find a performance issue in your code?
181
+
7. What are some ways you may improve your website's scrolling performance?
182
+
8. Explain the difference between layout, painting and compositing.
183
+
9. How can you cancel a router navigation?
184
+
10. How would you animate routing?
190
185
191
186
192
187
### Rockstar and Fighter for Angular Questions
193
-
194
-
1. How would you implement a multiple api calls that needs to happen in order using rxjs?
195
-
1. How would you make sure an api call that needs to be called only once but with multiple conditions. Example: if you need to get some data in multiple routes but, once you get it, you can reuse it in the routes that needs it, therefor no need to make another call to your backend apis.
196
-
1. If you need to respond to two different Observable/Subject with one callback function, how would you do it?(ex: if you need to change the url through route parameters and with prev/next buttons).
197
-
1. How will you make angular app secure?
198
-
placeholder for question:
199
-
1. translate
200
-
1. localization
201
-
2. environment setup
202
-
3. mastering style
203
-
3. base href
204
-
188
+
1. When does a lazy loaded module is loaded?
189
+
2. Why angular uses url segment?
190
+
3. How will you make angular app secure?
191
+
4. how will you localize numbers currencies and dates?
192
+
5. What is the best way to use translation in you app?
193
+
6. How will you setup different environment build differently for you app?
194
+
7. How will you use scss or css preprocessing with your application?
195
+
8. How will you optimize image/svg in your angular app?
196
+
9. How would you make sure an api call that needs to be called only once but with multiple conditions. Example: if you need to get some data in multiple routes but, once you get it, you can reuse it in the routes that needs it, therefor no need to make another call to your backend apis.
197
+
10. If you need to respond to two different Observable/Subject with one callback function, how would you do it?(ex: if you need to change the url through route parameters and with prev/next buttons).
0 commit comments