Skip to content

Commit 281b13c

Browse files
committed
few more questionsl
1 parent b9eef76 commit 281b13c

File tree

4 files changed

+126
-1
lines changed

4 files changed

+126
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1-
# angular-interview-questions
1+
# angular-interview-questions
2+
3+
## Make sure what you are going to face
4+
5+
## angular 1
6+
7+
Beginners level check these questions
8+
9+
Intermediate level
10+
11+
Expert level
12+
13+
## angular2
14+
15+
Beginner level
16+
17+
Intermediate level
18+
19+
Expert level
20+
21+
if you are a moderate it is angular1 check questions here

angular/beginner/README.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Angular Interview Questions
2+
3+
4+
## Beginner level
5+
6+
You just built hello world in angular2+ and may be you followed some video or blog but you have the courage to tell the interviewer that you know little bit angular2.
7+
8+
9+
## Research the interviewer
10+
Do a favor to yourself. Goggole the interviewer. Look at his/her linkedin provile. Check whether he/she has any youtube video, talk or active blog. and after your research try to put the interviewer in one of the following category
11+
1. Lazy interviewer asks about terminology. Sometimes they google questions and ask you from there. For them see the Termninology related questions
12+
2. Modest and nicer interview wants to check whether you can get the job done. and you know stuff. For this kind of interviewer look at the How category questions
13+
3. Smart interviewer wants to know that you think, you compare and analyze stuff to make consious decisions. For these type of nerdy inteviewer (they would love to prove you wrong. and one important tip: don't try to prove them wrong) you should study why type of questions
14+
15+
## Expect the following questions
16+
17+
### What category Questions( Angular terminology)
18+
1. What are the difference between angularJS (angular 1.0) and angular2
19+
2. What is a component
20+
3. What is a module
21+
4. What design framework you have used and why
22+
5. What is a service
23+
5. What is a promise
24+
7. What are the life cycle hooks for component and directives
25+
8. What is pipes
26+
9. What is authGuard
27+
28+
29+
### Question to verify you did some work
30+
6. How you build an angular app for production
31+
6. How would you run unit test
32+
7. How you create custom pipes
33+
8. Which life cycle hook will you use to unsbscribe a promise
34+
1. How can you get current state of a route
35+
2. How will you protect a route for authorized user only
36+
37+
38+
### Question about understanding
39+
2. Why would you use angular-cli
40+
4. Why would you use a component
41+
1. Why will you use a module
42+
3. What are the difference between a component and a directive
43+
5. Why would you use a module
44+
45+
*****
46+
47+
Answers link coming soon
48+
49+
---
50+
if you can answer these questions, yourself check the intermediate level questions [here]()

angular/expert/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# angular2 interview questions
2+
3+
4+
## expert
5+
6+
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.
7+
8+
### Expect the following questions
9+
10+
11+
12+
13+
14+
### Animation
15+
* what is wildcard state?
16+
* How do you put animation between two states?
17+
18+
19+
Answers link coming soon

angular/intermediate/README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# angular2 interview questions
2+
3+
4+
## intermediate
5+
6+
you built angular2 you played with routing, https, different built process, unit test, etc. here are the questions you could expect
7+
8+
* What is the difference between a component and a directive?
9+
* How do components communicate with each other?
10+
* How do you create two way data binding in Angular?
11+
* What is the purpose of NgModule?
12+
* How do you decide to create a new NgModule?
13+
* What are the attributes that you can define in an NgModule annotation?
14+
* What is the difference between a module's forRoot() and forChild() methods and why do you need it?
15+
* What is a structural directive?
16+
* How do you identify a structural directive in html?
17+
18+
* How would you select a custom component to style it.
19+
* What pseudo-class selector targets styles in the element that hosts the component?
20+
* How would you select all the child components' elements?
21+
22+
* What is the possible order of lifecycle hooks.
23+
* When will ngOnInit be called?
24+
* How would you make use of ngOnInit()?
25+
26+
* What is a pure pipe?
27+
28+
* What is the difference between RouterModule.forRoot() vs RouterModule.forChild()? Why is it important?
29+
30+
* What is the difference between an observable and a promise?
31+
* What are some of the angular apis that are using observables?
32+
* How would you cache an observable data?
33+
34+
* Why do you need type definitions?
35+
* How would you define a custom type?
36+
* What is the difference between an Interface and a Class?

0 commit comments

Comments
 (0)