SlideShare a Scribd company logo
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 a one-time 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:
W h a t m a k e s t h e 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!
Ad

Recommended

20 iOS developer interview questions
20 iOS developer interview questions
Arc & Codementor
 
Angular js interview question answer for fresher
Angular js interview question answer for fresher
Ravi Bhadauria
 
Angular.js interview questions
Angular.js interview questions
codeandyou forums
 
AngularJS interview questions
AngularJS interview questions
Uri Lukach
 
Angularjs tutorial
Angularjs tutorial
HarikaReddy115
 
Angularjs [Bahasa Indonesia]
Angularjs [Bahasa Indonesia]
Yanuar W
 
5 angularjs features
5 angularjs features
Alexey (Mr_Mig) Migutsky
 
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
DicodingEvent
 
Asp net-mvc-3 tier
Asp net-mvc-3 tier
Mohd Manzoor Ahmed
 
Angularjs beginners-workshop1
Angularjs beginners-workshop1
Jugnu Sharma
 
GDG Atlanta - Angular.js Demo and Workshop
GDG Atlanta - Angular.js Demo and Workshop
Drew Morris
 
Welcome to React & Flux !
Welcome to React & Flux !
Ritesh Kumar
 
Angular Project Report
Angular Project Report
Kodexhub
 
Using WordPress for Rapid Prototyping
Using WordPress for Rapid Prototyping
Drew Morris
 
Quick answers to Angular2+ Interview Questions
Quick answers to Angular2+ Interview Questions
Luis Martín Espino Rivera
 
iOS Development at Scale @Chegg
iOS Development at Scale @Chegg
GalOrlanczyk
 
Mean stack training-course-content
Mean stack training-course-content
Training Institute
 
Ng quick
Ng quick
Nagaraju Sangam
 
AngularJS 101
AngularJS 101
Houssem Yahiaoui
 
Kickstart sencha extjs
Kickstart sencha extjs
Shakti Shrestha
 
DSL, Page Object and WebDriver – the path to reliable functional tests.pptx
DSL, Page Object and WebDriver – the path to reliable functional tests.pptx
Mikalai Alimenkou
 
React JS Interview Question & Answer
React JS Interview Question & Answer
Mildain Solutions
 
React js, node js & angular js which one is the best for web development
React js, node js & angular js which one is the best for web development
Concetto Labs
 
AngularJS
AngularJS
Hiten Pratap Singh
 
Angular 4 and TypeScript
Angular 4 and TypeScript
Ahmed El-Kady
 
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
DicodingEvent
 
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
DicodingEvent
 
[JogjaJS] Single Page Application nganggo Angular.js
[JogjaJS] Single Page Application nganggo Angular.js
Yanuar W
 
Angular 2 interview questions and answers
Angular 2 interview questions and answers
Anil Singh
 
25 php interview questions – codementor
25 php interview questions – codementor
Arc & Codementor
 

More Related Content

What's hot (20)

Asp net-mvc-3 tier
Asp net-mvc-3 tier
Mohd Manzoor Ahmed
 
Angularjs beginners-workshop1
Angularjs beginners-workshop1
Jugnu Sharma
 
GDG Atlanta - Angular.js Demo and Workshop
GDG Atlanta - Angular.js Demo and Workshop
Drew Morris
 
Welcome to React & Flux !
Welcome to React & Flux !
Ritesh Kumar
 
Angular Project Report
Angular Project Report
Kodexhub
 
Using WordPress for Rapid Prototyping
Using WordPress for Rapid Prototyping
Drew Morris
 
Quick answers to Angular2+ Interview Questions
Quick answers to Angular2+ Interview Questions
Luis Martín Espino Rivera
 
iOS Development at Scale @Chegg
iOS Development at Scale @Chegg
GalOrlanczyk
 
Mean stack training-course-content
Mean stack training-course-content
Training Institute
 
Ng quick
Ng quick
Nagaraju Sangam
 
AngularJS 101
AngularJS 101
Houssem Yahiaoui
 
Kickstart sencha extjs
Kickstart sencha extjs
Shakti Shrestha
 
DSL, Page Object and WebDriver – the path to reliable functional tests.pptx
DSL, Page Object and WebDriver – the path to reliable functional tests.pptx
Mikalai Alimenkou
 
React JS Interview Question & Answer
React JS Interview Question & Answer
Mildain Solutions
 
React js, node js & angular js which one is the best for web development
React js, node js & angular js which one is the best for web development
Concetto Labs
 
AngularJS
AngularJS
Hiten Pratap Singh
 
Angular 4 and TypeScript
Angular 4 and TypeScript
Ahmed El-Kady
 
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
DicodingEvent
 
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
DicodingEvent
 
[JogjaJS] Single Page Application nganggo Angular.js
[JogjaJS] Single Page Application nganggo Angular.js
Yanuar W
 
Angularjs beginners-workshop1
Angularjs beginners-workshop1
Jugnu Sharma
 
GDG Atlanta - Angular.js Demo and Workshop
GDG Atlanta - Angular.js Demo and Workshop
Drew Morris
 
Welcome to React & Flux !
Welcome to React & Flux !
Ritesh Kumar
 
Angular Project Report
Angular Project Report
Kodexhub
 
Using WordPress for Rapid Prototyping
Using WordPress for Rapid Prototyping
Drew Morris
 
Quick answers to Angular2+ Interview Questions
Quick answers to Angular2+ Interview Questions
Luis Martín Espino Rivera
 
iOS Development at Scale @Chegg
iOS Development at Scale @Chegg
GalOrlanczyk
 
Mean stack training-course-content
Mean stack training-course-content
Training Institute
 
DSL, Page Object and WebDriver – the path to reliable functional tests.pptx
DSL, Page Object and WebDriver – the path to reliable functional tests.pptx
Mikalai Alimenkou
 
React JS Interview Question & Answer
React JS Interview Question & Answer
Mildain Solutions
 
React js, node js & angular js which one is the best for web development
React js, node js & angular js which one is the best for web development
Concetto Labs
 
Angular 4 and TypeScript
Angular 4 and TypeScript
Ahmed El-Kady
 
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
DicodingEvent
 
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
DicodingEvent
 
[JogjaJS] Single Page Application nganggo Angular.js
[JogjaJS] Single Page Application nganggo Angular.js
Yanuar W
 

Viewers also liked (20)

Angular 2 interview questions and answers
Angular 2 interview questions and answers
Anil Singh
 
25 php interview questions – codementor
25 php interview questions – codementor
Arc & Codementor
 
Advanced AngularJS Concepts
Advanced AngularJS Concepts
Kyle Hodgson
 
AngularJS for Beginners
AngularJS for Beginners
Edureka!
 
AngularJS Architecture
AngularJS Architecture
Eyal Vardi
 
AngularJS - Overcoming performance issues. Limits.
AngularJS - Overcoming performance issues. Limits.
Dragos Mihai Rusu
 
AngularJS Security: defend your Single Page Application
AngularJS Security: defend your Single Page Application
Carlo Bonamico
 
Angularjs interview questions and answers
Angularjs interview questions and answers
prasaddammalapati
 
Introduction to Angularjs
Introduction to Angularjs
Manish Shekhawat
 
37 Java Interview Questions
37 Java Interview Questions
Arc & Codementor
 
AngularJS 101 - Everything you need to know to get started
AngularJS 101 - Everything you need to know to get started
Stéphane Bégaudeau
 
21 Essential JavaScript Interview Questions
21 Essential JavaScript Interview Questions
Arc & Codementor
 
Different way to share data between controllers in angular js
Different way to share data between controllers in angular js
codeandyou forums
 
JavaScript and UI Architecture Best Practices
JavaScript and UI Architecture Best Practices
Siarhei Barysiuk
 
AngularJS Basics with Example
AngularJS Basics with Example
Sergey Bolshchikov
 
Angularjs - lazy loading techniques
Angularjs - lazy loading techniques
Nir Kaufman
 
Top 12 skills for career success
Top 12 skills for career success
jobguide247
 
Single Page Application (SPA) using AngularJS
Single Page Application (SPA) using AngularJS
M R Rony
 
AngularJS performance & production tips
AngularJS performance & production tips
Nir Kaufman
 
Top 16 ways to make money online forever
Top 16 ways to make money online forever
jobguide247
 
Angular 2 interview questions and answers
Angular 2 interview questions and answers
Anil Singh
 
25 php interview questions – codementor
25 php interview questions – codementor
Arc & Codementor
 
Advanced AngularJS Concepts
Advanced AngularJS Concepts
Kyle Hodgson
 
AngularJS for Beginners
AngularJS for Beginners
Edureka!
 
AngularJS Architecture
AngularJS Architecture
Eyal Vardi
 
AngularJS - Overcoming performance issues. Limits.
AngularJS - Overcoming performance issues. Limits.
Dragos Mihai Rusu
 
AngularJS Security: defend your Single Page Application
AngularJS Security: defend your Single Page Application
Carlo Bonamico
 
Angularjs interview questions and answers
Angularjs interview questions and answers
prasaddammalapati
 
37 Java Interview Questions
37 Java Interview Questions
Arc & Codementor
 
AngularJS 101 - Everything you need to know to get started
AngularJS 101 - Everything you need to know to get started
Stéphane Bégaudeau
 
21 Essential JavaScript Interview Questions
21 Essential JavaScript Interview Questions
Arc & Codementor
 
Different way to share data between controllers in angular js
Different way to share data between controllers in angular js
codeandyou forums
 
JavaScript and UI Architecture Best Practices
JavaScript and UI Architecture Best Practices
Siarhei Barysiuk
 
Angularjs - lazy loading techniques
Angularjs - lazy loading techniques
Nir Kaufman
 
Top 12 skills for career success
Top 12 skills for career success
jobguide247
 
Single Page Application (SPA) using AngularJS
Single Page Application (SPA) using AngularJS
M R Rony
 
AngularJS performance & production tips
AngularJS performance & production tips
Nir Kaufman
 
Top 16 ways to make money online forever
Top 16 ways to make money online forever
jobguide247
 
Ad

Similar to 29 Essential AngularJS Interview Questions (20)

Learning AngularJS - Complete coverage of AngularJS features and concepts
Learning AngularJS - Complete coverage of AngularJS features and concepts
Suresh Patidar
 
Angularjs interview questions and answers
Angularjs interview questions and answers
Anil Singh
 
The AngularJS way
The AngularJS way
Boyan Mihaylov
 
AngularJS.part1
AngularJS.part1
Andrey Kolodnitsky
 
AngularJs Workshop SDP December 28th 2014
AngularJs Workshop SDP December 28th 2014
Ran Wahle
 
Introduction to AngularJs
Introduction to AngularJs
murtazahaveliwala
 
angularJs Workshop
angularJs Workshop
Ran Wahle
 
Angular Presentation
Angular Presentation
Adam Moore
 
ME vs WEB - AngularJS Fundamentals
ME vs WEB - AngularJS Fundamentals
Aviran Cohen
 
Infosys Angular Interview Questions PDF By ScholarHat
Infosys Angular Interview Questions PDF By ScholarHat
Scholarhat
 
AngularJS Workshop
AngularJS Workshop
Gianluca Cacace
 
Introduction to AngularJS
Introduction to AngularJS
Yoann Gotthilf
 
AngularJS in practice
AngularJS in practice
Eugene Fidelin
 
AngularJS
AngularJS
Srivatsan Krishnamachari
 
Angular basicschat
Angular basicschat
Yu Jin
 
Angularjs Basics
Angularjs Basics
Anuradha Bandara
 
AngularJS - TechTalk 3/2/2014
AngularJS - TechTalk 3/2/2014
Spyros Ioakeimidis
 
Working with AngularJS
Working with AngularJS
André Vala
 
introduction to Angularjs basics
introduction to Angularjs basics
Ravindra K
 
AngularJS
AngularJS
NexThoughts Technologies
 
Learning AngularJS - Complete coverage of AngularJS features and concepts
Learning AngularJS - Complete coverage of AngularJS features and concepts
Suresh Patidar
 
Angularjs interview questions and answers
Angularjs interview questions and answers
Anil Singh
 
AngularJs Workshop SDP December 28th 2014
AngularJs Workshop SDP December 28th 2014
Ran Wahle
 
angularJs Workshop
angularJs Workshop
Ran Wahle
 
Angular Presentation
Angular Presentation
Adam Moore
 
ME vs WEB - AngularJS Fundamentals
ME vs WEB - AngularJS Fundamentals
Aviran Cohen
 
Infosys Angular Interview Questions PDF By ScholarHat
Infosys Angular Interview Questions PDF By ScholarHat
Scholarhat
 
Introduction to AngularJS
Introduction to AngularJS
Yoann Gotthilf
 
Angular basicschat
Angular basicschat
Yu Jin
 
Working with AngularJS
Working with AngularJS
André Vala
 
introduction to Angularjs basics
introduction to Angularjs basics
Ravindra K
 
Ad

More from Arc & Codementor (10)

Remote Career Summit 2020 - the State of Remote Jobs - Weiting Liu of Arc
Remote Career Summit 2020 - the State of Remote Jobs - Weiting Liu of Arc
Arc & Codementor
 
Introduction to Python for Data Science
Introduction to Python for Data Science
Arc & Codementor
 
Top 10 Programming Languages in 2015
Top 10 Programming Languages in 2015
Arc & Codementor
 
How to Build Your App from Scratch
How to Build Your App from Scratch
Arc & Codementor
 
Angular meteor for angular devs
Angular meteor for angular devs
Arc & Codementor
 
Tmux tips and_tricks
Tmux tips and_tricks
Arc & Codementor
 
Introduction to Tmux - Codementor Tmux Office Hours Part 1
Introduction to Tmux - Codementor Tmux Office Hours Part 1
Arc & Codementor
 
Codementor Office Hours with Eric Chiang: Stdin, Stdout: pup, Go, and life at...
Codementor Office Hours with Eric Chiang: Stdin, Stdout: pup, Go, and life at...
Arc & Codementor
 
Building Modern and Secure PHP Applications – Codementor Office Hours with Be...
Building Modern and Secure PHP Applications – Codementor Office Hours with Be...
Arc & Codementor
 
Python Internals Optimization Choices Made - Codementors Office Hours with St...
Python Internals Optimization Choices Made - Codementors Office Hours with St...
Arc & Codementor
 
Remote Career Summit 2020 - the State of Remote Jobs - Weiting Liu of Arc
Remote Career Summit 2020 - the State of Remote Jobs - Weiting Liu of Arc
Arc & Codementor
 
Introduction to Python for Data Science
Introduction to Python for Data Science
Arc & Codementor
 
Top 10 Programming Languages in 2015
Top 10 Programming Languages in 2015
Arc & Codementor
 
How to Build Your App from Scratch
How to Build Your App from Scratch
Arc & Codementor
 
Angular meteor for angular devs
Angular meteor for angular devs
Arc & Codementor
 
Introduction to Tmux - Codementor Tmux Office Hours Part 1
Introduction to Tmux - Codementor Tmux Office Hours Part 1
Arc & Codementor
 
Codementor Office Hours with Eric Chiang: Stdin, Stdout: pup, Go, and life at...
Codementor Office Hours with Eric Chiang: Stdin, Stdout: pup, Go, and life at...
Arc & Codementor
 
Building Modern and Secure PHP Applications – Codementor Office Hours with Be...
Building Modern and Secure PHP Applications – Codementor Office Hours with Be...
Arc & Codementor
 
Python Internals Optimization Choices Made - Codementors Office Hours with St...
Python Internals Optimization Choices Made - Codementors Office Hours with St...
Arc & Codementor
 

Recently uploaded (20)

Current Affairs for Prelims (Schemes) 2024 (1).pptx
Current Affairs for Prelims (Schemes) 2024 (1).pptx
malavikasprinklr
 
最新版美国埃默里大学毕业证(Emory毕业证书)原版定制
最新版美国埃默里大学毕业证(Emory毕业证书)原版定制
Taqyea
 
最新版美国休斯顿大学毕业证(UH毕业证书)原版定制
最新版美国休斯顿大学毕业证(UH毕业证书)原版定制
Taqyea
 
How to Become a CPA USA and Boost Your Career
How to Become a CPA USA and Boost Your Career
ipfcadwords
 
merged_presentation_choladeck (1).pptx h
merged_presentation_choladeck (1).pptx h
sukh27012
 
Emotional_and_Social_Support_Presentation.pptx
Emotional_and_Social_Support_Presentation.pptx
mandiikkj
 
ad seminar new for seminar 2 presentation
ad seminar new for seminar 2 presentation
dineshkumarengg
 
Interviewing Techniques updated version.ppt
Interviewing Techniques updated version.ppt
mandiikkj
 
S Pomeroy - Resume - Financial Leadership Role ATSV2 (06 13 25).pdf
S Pomeroy - Resume - Financial Leadership Role ATSV2 (06 13 25).pdf
ndhsshare1
 
Garments Manufacturing, design, cutting and sewing of garments
Garments Manufacturing, design, cutting and sewing of garments
NaumanRafique9
 
ACEN presentation / huddle from June 2025
ACEN presentation / huddle from June 2025
Mark Rauterkus
 
Gives a structured overview of the skills measured in the DP-700 exam
Gives a structured overview of the skills measured in the DP-700 exam
thehulk1299
 
ENTREPRENEURSHIP DEVELOPMENT.pptx for engineering
ENTREPRENEURSHIP DEVELOPMENT.pptx for engineering
SwarupMondal29
 
"Housefull 5" (.2025.) +Fu𝗅𝗅Mov𝗂e! Down𝗅oad Fre𝖾 𝟩𝟤𝟢𝗉, 𝟦𝟪𝟢𝗉 𝖧𝖣 & 𝟣𝟢𝟪𝟢𝗉
"Housefull 5" (.2025.) +Fu𝗅𝗅Mov𝗂e! Down𝗅oad Fre𝖾 𝟩𝟤𝟢𝗉, 𝟦𝟪𝟢𝗉 𝖧𝖣 & 𝟣𝟢𝟪𝟢𝗉
deltaforcedxb7
 
RainWater Harvesting-ppt.pptx
RainWater Harvesting-ppt.pptx
shibamguin2003
 
What is UPSC job in India ? , Details about UPSC
What is UPSC job in India ? , Details about UPSC
prathamdigitalmarket
 
Plant Evaluation and Historical Developments,PPT.pptx
Plant Evaluation and Historical Developments,PPT.pptx
7300511143
 
👉 Top 11 IT Companies in Hinjewadi You Should Know About
👉 Top 11 IT Companies in Hinjewadi You Should Know About
vaishalitraffictail
 
ndss2024xxxxxxxxxxxxxxxxx_slides (1).ppsx
ndss2024xxxxxxxxxxxxxxxxx_slides (1).ppsx
rnkaushal2
 
Academic Preparation for Final Year Externship.pptx
Academic Preparation for Final Year Externship.pptx
Mark Rauterkus
 
Current Affairs for Prelims (Schemes) 2024 (1).pptx
Current Affairs for Prelims (Schemes) 2024 (1).pptx
malavikasprinklr
 
最新版美国埃默里大学毕业证(Emory毕业证书)原版定制
最新版美国埃默里大学毕业证(Emory毕业证书)原版定制
Taqyea
 
最新版美国休斯顿大学毕业证(UH毕业证书)原版定制
最新版美国休斯顿大学毕业证(UH毕业证书)原版定制
Taqyea
 
How to Become a CPA USA and Boost Your Career
How to Become a CPA USA and Boost Your Career
ipfcadwords
 
merged_presentation_choladeck (1).pptx h
merged_presentation_choladeck (1).pptx h
sukh27012
 
Emotional_and_Social_Support_Presentation.pptx
Emotional_and_Social_Support_Presentation.pptx
mandiikkj
 
ad seminar new for seminar 2 presentation
ad seminar new for seminar 2 presentation
dineshkumarengg
 
Interviewing Techniques updated version.ppt
Interviewing Techniques updated version.ppt
mandiikkj
 
S Pomeroy - Resume - Financial Leadership Role ATSV2 (06 13 25).pdf
S Pomeroy - Resume - Financial Leadership Role ATSV2 (06 13 25).pdf
ndhsshare1
 
Garments Manufacturing, design, cutting and sewing of garments
Garments Manufacturing, design, cutting and sewing of garments
NaumanRafique9
 
ACEN presentation / huddle from June 2025
ACEN presentation / huddle from June 2025
Mark Rauterkus
 
Gives a structured overview of the skills measured in the DP-700 exam
Gives a structured overview of the skills measured in the DP-700 exam
thehulk1299
 
ENTREPRENEURSHIP DEVELOPMENT.pptx for engineering
ENTREPRENEURSHIP DEVELOPMENT.pptx for engineering
SwarupMondal29
 
"Housefull 5" (.2025.) +Fu𝗅𝗅Mov𝗂e! Down𝗅oad Fre𝖾 𝟩𝟤𝟢𝗉, 𝟦𝟪𝟢𝗉 𝖧𝖣 & 𝟣𝟢𝟪𝟢𝗉
"Housefull 5" (.2025.) +Fu𝗅𝗅Mov𝗂e! Down𝗅oad Fre𝖾 𝟩𝟤𝟢𝗉, 𝟦𝟪𝟢𝗉 𝖧𝖣 & 𝟣𝟢𝟪𝟢𝗉
deltaforcedxb7
 
RainWater Harvesting-ppt.pptx
RainWater Harvesting-ppt.pptx
shibamguin2003
 
What is UPSC job in India ? , Details about UPSC
What is UPSC job in India ? , Details about UPSC
prathamdigitalmarket
 
Plant Evaluation and Historical Developments,PPT.pptx
Plant Evaluation and Historical Developments,PPT.pptx
7300511143
 
👉 Top 11 IT Companies in Hinjewadi You Should Know About
👉 Top 11 IT Companies in Hinjewadi You Should Know About
vaishalitraffictail
 
ndss2024xxxxxxxxxxxxxxxxx_slides (1).ppsx
ndss2024xxxxxxxxxxxxxxxxx_slides (1).ppsx
rnkaushal2
 
Academic Preparation for Final Year Externship.pptx
Academic Preparation for Final Year Externship.pptx
Mark Rauterkus
 

29 Essential AngularJS Interview Questions

  • 2. What are the basic steps to unit test an AngularJS filter? Question 1:
  • 3. What should be the maximum number of concurrent “watches”? Bonus: How would you keep an eye on that number? Question 2:
  • 4. How do you share data between controllers? Question 3:
  • 5. What is the difference between ng- show / ng-hide and ng-if directives? Question 4:
  • 6. What is a digest cycle in AngularJS? Question 5:
  • 7. Where should we implement the DOM manipulation in AngularJS? Question 6:
  • 8. Is it a good or bad practice to use AngularJS together with jQuery? Question 7:
  • 9. If you were to migrate from Angular 1.4 to Angular 1.5, what is the main thing that would need refactoring? Question 8:
  • 10. How would you specify that a scope variable should have a one-time binding only? Question 9:
  • 11. Question 10: What is the difference between one-way binding and two way binding?
  • 12. Question 11: Explain how $scope.$apply() works
  • 13. Question 12: What directive would you use to hide elements from the HTML DOM by removing them from that DOM not changing their styling?
  • 14. Question 13: W h a t m a k e s t h e angular.copy() method so powerful?
  • 15. How would you make an Angular service return a promise? Write a code snippet as an example Question 14:
  • 16. What is the role of services in AngularJS and name any services made available by default? Question 15:
  • 17. 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:
  • 18. When should you use an attribute versus an element? Question 17:
  • 19. AngularJS Interview Question #18 Question 18:
  • 20. Explain what is a $scope in AngularJS Question 19:
  • 22. What is a DDO Directive Definition Object? Question 21:
  • 23. What is a singleton pattern and where we can find it in Angularjs? Question 22:
  • 24. What is an interceptor? What are common uses of it? Question 23:
  • 25. How would you programatically change or adapt the template of a directive before it is executed and transformed? Question 24:
  • 26. How would you validate a text input field for a twitter username, including the @ symbol? Question 25:
  • 27. How would you implement application-wide exception handling in your Angular app? Question 26:
  • 28. How do you hide an HTML element via a button click in AngularJS? Question 27:
  • 29. 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:
  • 30. How do you disable a button depending on a checkbox's state? Question 29:
  • 31. Did you know how to answer all 29 questions? Feel free to check your answers here!