Saturday, 29 June 2024

Angular Interview Questions

  1.  What is the whole goal of Angular ?
  2.  What are directives in Angular and how many types of directives exists?
  3.  Explain data bindings and different types of the same?
  4.  Explain the basic components involved in Angular ?
  5.  Difference between AngularJS vs Angular?
  6.  What are component and modules in Angular?
  7.  What are decorators in Angular ?
  8.  What is metadata or annotations in Angular ?
  9.  What are templates in Angular ?
  10.  What is SPA and how to implement in Angular ?
  11.  Explain the importance of routing in Angular & how to implement?
  12.  What is Lazy loading concept in Angular
  13.  How to implement lazy loading in Angular?
  14.  What is node ?
  15.  What is NPM
  16.  What is the importance of node_modules folder ?
  17.  What is packagejson ?
  18.  What is typescript?
  19.  What is the need of Angular CLI ?
  20.  What are services in Angular ?
  21.  In What scenarios will we use content projection ?
  22.  Explain Content Projection Slots in Angular?
  23.  Why do we need “ViewChild” and “ViewChildren” in Angular?
  24.  What’s Template reference variable
  25.  Explain “ContentChild” and “ContentChildren” ?
  26.  Differentiate between ViewChild , ViewChildren , ContentChild and ContentChildren ?
  27.  What is { static: true } in ViewChild ?
  28.  What’s the importance Angular component hooks / life cycle?
  29.  Explain in detail Angular life cycle hooks?   
  30.  Differentiate between “constructor” and “ngOnInit()” ?   
  31.  How to implement lazy loading in Angular?   
  32.  How to implement HTTP in Angular ?   
  33.  How to pass data between components?   
  34.  What are pipes ?   
  35.  Can you give some examples of inbuilt Angular pipes ?   
  36.  How can we write a custom pipe ?   
  37.  What is RxJs and why do we need it ?   
  38.  What are observables and observers?  
  39.  What is stream in RxJs ?   
  40.  What is the use of subscribe in RxJs ?   
  41.  How to unsubscribe from the stream ?   
  42.  What are operators in RxJs?   
  43.  Where did you use RxJs in Angular ?   
  44.  Differentiate between RxJs and Promises?   
  45.  How to install rxJs ?   
  46.  Why is rxjs called Push/Reactive not pull/imperative ?   
  47.  Name some rxJs Operators ?   
  48.  What are interceptors in Angular?   
  49.  How to implement interceptors?   
  50.  Give some use of Interceptors?   
  51.  Can we provide multi-interceptors?   
  52.  Notes by author for further book expanstion  

No comments:

Post a Comment

Thanks for the contribution, our team will check and reply back if response required.