29 Essential AngularJS Interview Questions

codementor 487,676 views 31 slides Feb 06, 2016
Slide 1
Slide 1 of 31
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31

About This Presentation

Have an upcoming technical interview for a junior front-end developer position at a company that uses AngularJS? Here are 29 AngularJS interview questions for you to practice with!


Slide Content

29 Essential AngularJS
Interview Questions

What are the basic steps to unit test an
AngularJS filter?
Question 1:

What should be the maximum
number of concurrent “watches”?
Bonus: How would you keep an eye
on that number?
Question 2:

How do you share data between controllers?
Question 3:

What is the difference between ng-
show / ng-hide and ng-if
directives?
Question 4:

What is a digest cycle in AngularJS?
Question 5:

Where should we implement the DOM
manipulation in AngularJS?
Question 6:

Is it a good or bad practice to use AngularJS
together with jQuery?
Question 7:

If you were to migrate from Angular 1.4 to Angular
1.5, what is the main thing that would need
refactoring?
Question 8:

How would you specify that a scope variable
should have one way binding only?
Question 9:

Question 10:
What is the difference between one-way
binding and two way binding?

Question 11:
Explain how $scope.$apply() works

Question 12:
What directive would you use to hide
elements from the HTML DOM by removing
them from that DOM not changing their
styling?

Question 13:
What makes the angular.copy()
method so powerful?

How would you make an Angular service return
a promise? Write a code snippet as an example
Question 14:

What is the role of services in AngularJS and
name any services made available by
default?
Question 15:

When creating a directive, it can be used in
several different ways in the view. Which ways
for using a directive do you know? How do you
define the way your directive will be used?
Question 16:

When should you use an attribute versus an
element?
Question 17:

AngularJS Interview Question #18
Question 18:

Explain what is a $scope in AngularJS
Question 19:

What are Directives?
Question 20:

What is a DDO Directive Definition Object?
Question 21:

What is a singleton pattern and where we
can find it in Angularjs?
Question 22:

What is an interceptor? What are common
uses of it?
Question 23:

How would you programatically change or
adapt the template of a directive before it is
executed and transformed?
Question 24:

How would you validate a text input field for a
twitter username, including the @ symbol?
Question 25:

How would you implement application-wide
exception handling in your Angular app?
Question 26:

How do you hide an HTML element via a
button click in AngularJS?
Question 27:

How would you react on model changes to
trigger some further action?

For instance, say you have an input text field
called email, and you want to trigger or
execute some code as soon as a user starts
to type in their email.
Question 28:

How do you disable a button depending on a
checkbox's state?
Question 29:

Did you know how to answer all 29 questions?
Feel free to check your answers here!