AngularJS Interview Questions and Answers - LearnHowToCode SarkariResult.com Interview Questions and Answers LearnHowToCodeOnline
AngularJs Interview Questions and Answers

AngularJS Interview Questions and Answers

Familiarity of Basic Terminology

  1. What are the differences between AngularJS (angular 1.x) and Angular (Angular 2.x and beyond)?
  2. What is a component? Why would you use it?
  3. What is the minimum definition of a component?
  4. What is a module, and what does it contain?
  5. What is a service, and when will you use it?
  6. What is a promise? Explain it laymen's terms.
  7. What are the lifecycle hooks for components and directives?
  8. What are pipes? Give me an example.
  9. What are the differences between reactive forms and template driven forms?
  10. What is a dumb, or presentation, component? What are the benefits of using dumb components?

Ability to Build Simple App

  1. How do components communicate with each other?
  2. How would you use http to load data from server?
  3. How do you create routes?
  4. How can you get the current state of a route?
  5. How do you create two-way data binding?
  6. How do you load external modules?
  7. How would you display form validation errors?
  8. Which lifecycle hook would you use to unsubscribe an observable?
  9. How are services injected to your application?
  10. How would you create route parameters and access them from a component?

Basic Concepts

  1. Why would you use Angular instead of another framework, e.g., React?
  2. What is the difference between an observable and a promise?
  3. What is the difference between a component and a directive?
  4. Why would you use typescript aka benefits of typescript?
  5. Why different life cycle hooks are needed for a component/directive?
  6. Why does angular use rxjs?
  7. What is the purpose of using zone.js?
  8. What is the difference between ngOnInit() and the constructor() of a component?
  9. When will ngOnInit() be called? How would you make use of ngOnInit()?
  10. What are the benefits of using formBuilder?

About Mariano

I'm Ethan Mariano a software engineer by profession and reader/writter by passion.I have good understanding and knowledge of AngularJS, Database, javascript, web development, digital marketing and exploring other technologies related to Software development.

0 comments:

Featured post

Political Full Forms List

Acronym Full Form MLA Member of Legislative Assembly RSS Really Simple Syndication, Rashtriya Swayamsevak Sangh UNESCO United Nations E...

Powered by Blogger.