SlideShare a Scribd company logo
Angularjs Interview Questions and Answers
Via Web page
by Code-Sample.com
1. What is Angularjs?
The angularjs is a JavaScript [MVW || MV* ] framework and Its maintain by Google. The most
of use to creating to single-page applications (SPA) with the MVC pattern. Its used for both
client-side and server-side web application etc.
{{
The MVW || MV* stand for " Model-View-Whatever".
We considering the " MVC", "MVVM", "MVP" but angularjs is more closer to MVC pattern, I
would guess "whatever works for you !" , " Model-View-Whatever".
Some people are stand to MVW and some are MV* :)
}}
The main features are given below.
1. Its support both type of binding one-way and two-way data bindings.
2. Its support MVC pattern.
3. Its support static template and angular template.
4. You can add custom directives.
5. Its support REST full services.
6. Its support form validations.
7. Its support both client and server communication.
8. Its support dependency injection.
9. Applying Animations.
10. Event Handlers.
2. What are the main features in AngularJs?
Ans : The main key features are
1. Scope,
2. Controller,
3. Model,
4. View,
5. Services,
6. Data Binding,
7. Directives,
8. Filters,
9. Validation and
10. Testable.
3. Why should use Angularjs?
Angularjs provide 10 key points as given below, behalf of this keys, I can say that why we use
it! :)
1. It's fully extensible and works with other libraries.
2. This is a declarative user interface.
3. Data models are plain old JavaScript objects.
4. Good Behaviour with directives.
5. Good Flexibility with filters.
6. Write loosely coupled and less code.
7. DOM manipulations , Its support one-way binding and two-way binding both.
8. Service providers where they belong.
9. Context aware both client and server communication.
10. Unit Testing features ready.
4. Why is namespace called "ng"?
The prefix "ng" called angular and Its HTML has Angular brackets {{ }}.
Example. <span>{{user.name}}</span>
5. Is Angularjs is a library, framework or plugins?
Angularjs is a Framework not a library or browser plugins. Because Angularjs is 100% client-
side JavaScript and Its support to desktop and mobile browsers.
6. Is Angularjs a templating system?
We can use the ng-include directive for templating system. Angularjs support DOM based
templating.
7. In AngularJS, we need to worry about security holes?
Angularjs handle to basic security holes like.
1. HTML injection attacks,
2. cross-site-scripting (CSS)
3. XSRF protection for server side communication.
4. Basic authentication and authorization etc.
8. Can we use to open-source Library with Angular?
Yes, I can use to open source libraries.
9. Does Angularjs depends on jQuery library?
If jQuery is available on page that time it use otherwise it use to jqLite.
Angularjs framework contain subset of jQuery that is called jqLite. In jqLite contain needed
limited events and methods which supported to DOM manipulations.
The jqLite is enough to work for Angularjs. Using jqLite, Removed the dependency of
jQuery etc.
When you start to work with directive that time you need to add jQuery. For example, if you
are using ng-grid directive that time need to add jQuery because some of the features
required to jQuery.
Angularjs support to jQuery version 2.1 or above.
10. What about Auto bootstrap process in AngularJs?
In angularjs ng-app is used to auto-bootstrapping to your applications.
Its also called Automatic Initialization.
The ng-app is the root of compilation and tell only this portion of DOM is angularjs part.
Click here for Example code
11. What are Directives in AngularJs? {{Answers}}
12. What are $scope in AngularJs?{{Answers}}
13. How to use angularjs? {{ Answers }}
14. How to use filter in angularjs? {{ Answers }}
15. How to use foreach in angularjs? {{ Answers }}
16. How to write increment counter in angularjs? {{ Answers }}
17. How to find the index counter in ng-repeat angularjs? {{ Answers }}
18. How to add rows in angularjs? {{ Answers }}
19. How to delete a row in angularjs? {{ Answers }}
20. How to use angularjs data grid/ng-grid? {{ Answers }}
21. What type of angularjs date format? {{ Answers }}
22. Tell me angularjs date calendar with example? {{ Answers }}
23. how to upload file in angularjs? {{ Answers }}
24. How to use the drop-down list in angularjs? {{ Answers }}
25. How to configuring routes in angularjs? {{ Answers }}
26. How to use the angularjs $watch? {{ Answers }}
27. How to use the JSON object in ng-repeat? {{ Answers }}
28. What is angularjs i18n and L10n language translation? {{ Answers }}
29. How to use ng-if/else in angularjs? {{ Answers }}
30. How to use ng-show and ng-hide in angularjs? {{ Answers }}
31. How to use the css binding in angularjs? {{ Answers }}
32. How to initialize a select box with options on page load in AngularJs?{{Answers}}
33. How to enable and disable buttons with using condition?{{Answers}}
34. How to using looping through a collection for each item in AngularJs?{{Answers}}
35. How to bind selection box with options in the AngularJs?{{Answers}}
36. How to display images based on the status(A, B, and C) in AngularJs?{{Answers}}
37. Why would you use a service over a factory?
The Services are singletons.They are ideal for keeping and tracking the state.
The factories will always return a new instance for each object.
38. What is a Factory?
Factory are used to communicate with servers using HTTP models and persist the application
state and change to the across controllers.
The factories methodology are use to create the reusable code and feature of applications.
39. What are the differences between $resource and $http? {{Answers}}
40. Can you explain to $on and/or $watch ? {{ Answers }}
42. $scope vs scope in angularjs? {{ Answers }}
43. What difference between ng-app vs. data-ng-app and x-ng-app? {{Answers}}
44. What types of filter in AngularJs? {{ Answers}}
45. What is ng-cloak directive and Why we use? {{Answers}}
This file was saved from Inoreader

More Related Content

What's hot

Angular js best practice
Angular js best practiceAngular js best practice
Angular js best practice
Matteo Scandolo
 
Get satrted angular js
Get satrted angular jsGet satrted angular js
Get satrted angular js
Alexandre Marreiros
 
Gettings started with the superheroic JavaScript library AngularJS
Gettings started with the superheroic JavaScript library AngularJSGettings started with the superheroic JavaScript library AngularJS
Gettings started with the superheroic JavaScript library AngularJS
Armin Vieweg
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
David Parsons
 
Different way to share data between controllers in angular js
Different way to share data between controllers in angular jsDifferent way to share data between controllers in angular js
Different way to share data between controllers in angular js
codeandyou forums
 
AngularJS
AngularJSAngularJS
Introduction to AngularJS Framework
Introduction to AngularJS FrameworkIntroduction to AngularJS Framework
Introduction to AngularJS Framework
Raveendra R
 
Angularjs tutorial
Angularjs tutorialAngularjs tutorial
Angularjs tutorial
HarikaReddy115
 
AngularJS One Day Workshop
AngularJS One Day WorkshopAngularJS One Day Workshop
AngularJS One Day Workshop
Shyam Seshadri
 
5 angularjs features
5 angularjs features5 angularjs features
5 angularjs features
Alexey (Mr_Mig) Migutsky
 
AngularJS - What is it & Why is it awesome ? (with demos)
AngularJS - What is it & Why is it awesome ? (with demos)AngularJS - What is it & Why is it awesome ? (with demos)
AngularJS - What is it & Why is it awesome ? (with demos)
Gary Arora
 
Introduction to Angular js 2.0
Introduction to Angular js 2.0Introduction to Angular js 2.0
Introduction to Angular js 2.0
Nagaraju Sangam
 
AngularJS is awesome
AngularJS is awesomeAngularJS is awesome
AngularJS is awesome
Eusebiu Schipor
 
Angular 2 - Better or worse
Angular 2 - Better or worseAngular 2 - Better or worse
Angular 2 - Better or worse
Vladimir Georgiev
 
Angular js tutorial slides
Angular js tutorial slidesAngular js tutorial slides
Angular js tutorial slides
samhelman
 
AngularJS
AngularJSAngularJS
Angular js
Angular jsAngular js
Angular js
Knoldus Inc.
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
Jussi Pohjolainen
 
Angular js for beginners
Angular js for beginnersAngular js for beginners
Angular js for beginners
Munir Hoque
 
Angular js PPT
Angular js PPTAngular js PPT
Angular js PPT
Imtiyaz Ahmad Khan
 

What's hot (20)

Angular js best practice
Angular js best practiceAngular js best practice
Angular js best practice
 
Get satrted angular js
Get satrted angular jsGet satrted angular js
Get satrted angular js
 
Gettings started with the superheroic JavaScript library AngularJS
Gettings started with the superheroic JavaScript library AngularJSGettings started with the superheroic JavaScript library AngularJS
Gettings started with the superheroic JavaScript library AngularJS
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Different way to share data between controllers in angular js
Different way to share data between controllers in angular jsDifferent way to share data between controllers in angular js
Different way to share data between controllers in angular js
 
AngularJS
AngularJSAngularJS
AngularJS
 
Introduction to AngularJS Framework
Introduction to AngularJS FrameworkIntroduction to AngularJS Framework
Introduction to AngularJS Framework
 
Angularjs tutorial
Angularjs tutorialAngularjs tutorial
Angularjs tutorial
 
AngularJS One Day Workshop
AngularJS One Day WorkshopAngularJS One Day Workshop
AngularJS One Day Workshop
 
5 angularjs features
5 angularjs features5 angularjs features
5 angularjs features
 
AngularJS - What is it & Why is it awesome ? (with demos)
AngularJS - What is it & Why is it awesome ? (with demos)AngularJS - What is it & Why is it awesome ? (with demos)
AngularJS - What is it & Why is it awesome ? (with demos)
 
Introduction to Angular js 2.0
Introduction to Angular js 2.0Introduction to Angular js 2.0
Introduction to Angular js 2.0
 
AngularJS is awesome
AngularJS is awesomeAngularJS is awesome
AngularJS is awesome
 
Angular 2 - Better or worse
Angular 2 - Better or worseAngular 2 - Better or worse
Angular 2 - Better or worse
 
Angular js tutorial slides
Angular js tutorial slidesAngular js tutorial slides
Angular js tutorial slides
 
AngularJS
AngularJSAngularJS
AngularJS
 
Angular js
Angular jsAngular js
Angular js
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Angular js for beginners
Angular js for beginnersAngular js for beginners
Angular js for beginners
 
Angular js PPT
Angular js PPTAngular js PPT
Angular js PPT
 

Similar to Angularjs interview questions and answers

AngularJS
AngularJS AngularJS
Intoduction to Angularjs
Intoduction to AngularjsIntoduction to Angularjs
Intoduction to Angularjs
Gaurav Agrawal
 
26 top angular 8 interview questions to know in 2020 [www.full stack.cafe]
26 top angular 8 interview questions to know in 2020   [www.full stack.cafe]26 top angular 8 interview questions to know in 2020   [www.full stack.cafe]
26 top angular 8 interview questions to know in 2020 [www.full stack.cafe]
Alex Ershov
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
sarah david
 
Angular 6 Training with project in hyderabad india
Angular 6 Training with project in hyderabad indiaAngular 6 Training with project in hyderabad india
Angular 6 Training with project in hyderabad india
php2ranjan
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
sarah david
 
Angularjs on line training
Angularjs on line trainingAngularjs on line training
Angularjs on line training
Jahan Murugassan
 
Angular js getting started
Angular js getting startedAngular js getting started
Angular js getting started
Hemant Mali
 
Tips on How to Optimize AngularJS App Performance
Tips on How to Optimize AngularJS App PerformanceTips on How to Optimize AngularJS App Performance
Tips on How to Optimize AngularJS App Performance
Windzoon Technologies
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
sarah david
 
Angular Project Report
 Angular Project Report Angular Project Report
Angular Project Report
Kodexhub
 
What You Really Want To Be Aware (2).pptx
What You Really Want To Be Aware (2).pptxWhat You Really Want To Be Aware (2).pptx
What You Really Want To Be Aware (2).pptx
reshu khan
 
Angular interview questions
Angular interview questionsAngular interview questions
Angular interview questions
Goa App
 
Angular js slides
Angular js slidesAngular js slides
Angular js slides
Amr Abd El Latief
 
The Basics Angular JS
The Basics Angular JS The Basics Angular JS
The Basics Angular JS
OrisysIndia
 
AngularJS in practice
AngularJS in practiceAngularJS in practice
AngularJS in practice
Eugene Fidelin
 
Angular JS
Angular JSAngular JS
Angular JS
Vithika Gupta
 
What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?
Albiorix Technology
 
Angular
AngularAngular
angular
angularangular

Similar to Angularjs interview questions and answers (20)

AngularJS
AngularJS AngularJS
AngularJS
 
Intoduction to Angularjs
Intoduction to AngularjsIntoduction to Angularjs
Intoduction to Angularjs
 
26 top angular 8 interview questions to know in 2020 [www.full stack.cafe]
26 top angular 8 interview questions to know in 2020   [www.full stack.cafe]26 top angular 8 interview questions to know in 2020   [www.full stack.cafe]
26 top angular 8 interview questions to know in 2020 [www.full stack.cafe]
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
 
Angular 6 Training with project in hyderabad india
Angular 6 Training with project in hyderabad indiaAngular 6 Training with project in hyderabad india
Angular 6 Training with project in hyderabad india
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
 
Angularjs on line training
Angularjs on line trainingAngularjs on line training
Angularjs on line training
 
Angular js getting started
Angular js getting startedAngular js getting started
Angular js getting started
 
Tips on How to Optimize AngularJS App Performance
Tips on How to Optimize AngularJS App PerformanceTips on How to Optimize AngularJS App Performance
Tips on How to Optimize AngularJS App Performance
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
 
Angular Project Report
 Angular Project Report Angular Project Report
Angular Project Report
 
What You Really Want To Be Aware (2).pptx
What You Really Want To Be Aware (2).pptxWhat You Really Want To Be Aware (2).pptx
What You Really Want To Be Aware (2).pptx
 
Angular interview questions
Angular interview questionsAngular interview questions
Angular interview questions
 
Angular js slides
Angular js slidesAngular js slides
Angular js slides
 
The Basics Angular JS
The Basics Angular JS The Basics Angular JS
The Basics Angular JS
 
AngularJS in practice
AngularJS in practiceAngularJS in practice
AngularJS in practice
 
Angular JS
Angular JSAngular JS
Angular JS
 
What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?
 
Angular
AngularAngular
Angular
 
angular
angularangular
angular
 

Recently uploaded

Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 

Recently uploaded (20)

Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 

Angularjs interview questions and answers

  • 1. Angularjs Interview Questions and Answers Via Web page by Code-Sample.com 1. What is Angularjs? The angularjs is a JavaScript [MVW || MV* ] framework and Its maintain by Google. The most of use to creating to single-page applications (SPA) with the MVC pattern. Its used for both client-side and server-side web application etc. {{ The MVW || MV* stand for " Model-View-Whatever". We considering the " MVC", "MVVM", "MVP" but angularjs is more closer to MVC pattern, I would guess "whatever works for you !" , " Model-View-Whatever". Some people are stand to MVW and some are MV* :) }} The main features are given below.
  • 2. 1. Its support both type of binding one-way and two-way data bindings. 2. Its support MVC pattern. 3. Its support static template and angular template. 4. You can add custom directives. 5. Its support REST full services. 6. Its support form validations. 7. Its support both client and server communication. 8. Its support dependency injection. 9. Applying Animations. 10. Event Handlers. 2. What are the main features in AngularJs? Ans : The main key features are 1. Scope, 2. Controller, 3. Model, 4. View, 5. Services, 6. Data Binding, 7. Directives, 8. Filters, 9. Validation and 10. Testable. 3. Why should use Angularjs? Angularjs provide 10 key points as given below, behalf of this keys, I can say that why we use it! :) 1. It's fully extensible and works with other libraries. 2. This is a declarative user interface.
  • 3. 3. Data models are plain old JavaScript objects. 4. Good Behaviour with directives. 5. Good Flexibility with filters. 6. Write loosely coupled and less code. 7. DOM manipulations , Its support one-way binding and two-way binding both. 8. Service providers where they belong. 9. Context aware both client and server communication. 10. Unit Testing features ready. 4. Why is namespace called "ng"? The prefix "ng" called angular and Its HTML has Angular brackets {{ }}. Example. <span>{{user.name}}</span> 5. Is Angularjs is a library, framework or plugins? Angularjs is a Framework not a library or browser plugins. Because Angularjs is 100% client- side JavaScript and Its support to desktop and mobile browsers. 6. Is Angularjs a templating system? We can use the ng-include directive for templating system. Angularjs support DOM based templating. 7. In AngularJS, we need to worry about security holes? Angularjs handle to basic security holes like. 1. HTML injection attacks, 2. cross-site-scripting (CSS) 3. XSRF protection for server side communication. 4. Basic authentication and authorization etc. 8. Can we use to open-source Library with Angular? Yes, I can use to open source libraries. 9. Does Angularjs depends on jQuery library? If jQuery is available on page that time it use otherwise it use to jqLite. Angularjs framework contain subset of jQuery that is called jqLite. In jqLite contain needed limited events and methods which supported to DOM manipulations. The jqLite is enough to work for Angularjs. Using jqLite, Removed the dependency of jQuery etc. When you start to work with directive that time you need to add jQuery. For example, if you are using ng-grid directive that time need to add jQuery because some of the features required to jQuery. Angularjs support to jQuery version 2.1 or above.
  • 4. 10. What about Auto bootstrap process in AngularJs? In angularjs ng-app is used to auto-bootstrapping to your applications. Its also called Automatic Initialization. The ng-app is the root of compilation and tell only this portion of DOM is angularjs part. Click here for Example code 11. What are Directives in AngularJs? {{Answers}} 12. What are $scope in AngularJs?{{Answers}} 13. How to use angularjs? {{ Answers }} 14. How to use filter in angularjs? {{ Answers }} 15. How to use foreach in angularjs? {{ Answers }} 16. How to write increment counter in angularjs? {{ Answers }} 17. How to find the index counter in ng-repeat angularjs? {{ Answers }} 18. How to add rows in angularjs? {{ Answers }} 19. How to delete a row in angularjs? {{ Answers }} 20. How to use angularjs data grid/ng-grid? {{ Answers }} 21. What type of angularjs date format? {{ Answers }} 22. Tell me angularjs date calendar with example? {{ Answers }} 23. how to upload file in angularjs? {{ Answers }}
  • 5. 24. How to use the drop-down list in angularjs? {{ Answers }} 25. How to configuring routes in angularjs? {{ Answers }} 26. How to use the angularjs $watch? {{ Answers }} 27. How to use the JSON object in ng-repeat? {{ Answers }} 28. What is angularjs i18n and L10n language translation? {{ Answers }} 29. How to use ng-if/else in angularjs? {{ Answers }} 30. How to use ng-show and ng-hide in angularjs? {{ Answers }} 31. How to use the css binding in angularjs? {{ Answers }} 32. How to initialize a select box with options on page load in AngularJs?{{Answers}} 33. How to enable and disable buttons with using condition?{{Answers}} 34. How to using looping through a collection for each item in AngularJs?{{Answers}} 35. How to bind selection box with options in the AngularJs?{{Answers}} 36. How to display images based on the status(A, B, and C) in AngularJs?{{Answers}} 37. Why would you use a service over a factory? The Services are singletons.They are ideal for keeping and tracking the state. The factories will always return a new instance for each object. 38. What is a Factory? Factory are used to communicate with servers using HTTP models and persist the application state and change to the across controllers. The factories methodology are use to create the reusable code and feature of applications. 39. What are the differences between $resource and $http? {{Answers}} 40. Can you explain to $on and/or $watch ? {{ Answers }} 42. $scope vs scope in angularjs? {{ Answers }} 43. What difference between ng-app vs. data-ng-app and x-ng-app? {{Answers}} 44. What types of filter in AngularJs? {{ Answers}} 45. What is ng-cloak directive and Why we use? {{Answers}}
  • 6. This file was saved from Inoreader