Angular Interview Questions For 3 Years Of Experience

 

  1. What are the ways to share data between 2 components ?
  2. What is lazy loading in Angular ?
  3. What are custom directives in Angular and how to create them ?
  4. What is the difference between ng serve and npm start ?
  5. What is the difference between ng add and npm install ?
  6. Can we use jQuery in Angular 2/4/5 ?
  7. What is replay subject in angular ?
  8. What is the difference between adding styles and scripts in angular.json and adding styles and scripts in index.html ?
  9. What is the difference between cold observables and hot observables ?
  10. What are the properties inside @ngModule decorator ?
  11. How to generate a component using cli command without creating its spec file ?
  12. What is RxJS ?
  13. What is the use of HttpClientModule ?
  14. Is it necessary to define a constructor in a component ?
  15. What are the security features in angular ?
  16. What is testbed in Jasmine ?
  17. What is the difference between Subject and Behaviour Subject ?
  18. What are the advantage of using observable instead of promise for http request ?
  19. Difference between authorization and authentication. Explain the basic difference and also in the context of an angular application ?
  20. What is AOT in Angular ?
  21. How to create custom pipe in Angular ?
  22. What are inbuilt Angular pipes ?
  23. Explain Software version nomenclature (semantic versioning) ?
  24. What is the use of tilde(~) and caret(^) sign in package.json ?
  25. What are interceptors in Angular ?
  26. Can we rename dist folder in Angular Project ?
  27. How would the browser Know that your app is an Angular based app ?
  28. How to make multiple http calls in parallel in Angular ?
  29. What is a module in TypeScript, and how can you use it ?
  30. How to hit an API before the loading of the appComponent ?
  31. If there is a package(or say library) that is not available through NPM , then how would you use it in your angular application ?
  32. How to implement treeshaking in Angular ?
  33. What can be the values of 'providedIn' property of @injectable decorator ?
  34. How to optimize Angular application using OnPush change detection strategy ?
  35. What is the latest Angular version and what are the new features added in it ?
  36. What are the types of forms available in Angular ? Explain with syntax.
  37. What are dynamic forms and how to create them in Angular ?
  38. How to show error messages on form controls ?
  39. How to use a service only for a specific component instead of the whole module ?
  40. Can you put ngIf and ngFor on same element ?
  41. What's the difference between Observable and Subject ?
  42. How does ng serve work ?
  43. How to improve Angular app performance ?
  44. What is AuthGuard in Angular ?
  45. Explain the canActivateChild route guard ?
  46. What is the difference between Canload and canActivate route guards ?
  47. Explain switch map , mergemap , forkjoin, combineLatest, concatMap, exhaustMap . what would happen if any of the requests fails in switch map , merge map or forkjoin ?
  48. What is dependency injection ?
  49. What's the difference between debounce and setTimeout ?
  50. What are RxJS key features ?
  51. What is the difference between 'from' and 'of' operator in RxJS ?
  52. How do you handle errors in RxJS observables ?
  53. What is the purpose of operators in RxJS, and can you give an example of a common operator ?
  54. What are services in Angular ?
  55. What is the difference between AOT and JIT ?
  56. What are the different building blocks of Angular ?
  57. How do you use the retry() operator in RxJS, and what is its purpose ?
  58. What is Angular change detection and how does it work ?
  59. How to dynamically create form fields with FormArray in Angular ?
  60. How to optimize an Angular application ?
  61. Explain pure and impure pipe in Angular ?
  62. Explain unit testing in Angular ?
  63. How to test an Angular Service ?
  64. Explain ngAfterContentInit hooks ?
  65. Explain ngAfterViewInit hook with example ?
  66. Difference between ngAfterContentInit and ngAfterViewInit ?
  67. What is View Encapsulation in Angular ?
  68. What is the use of polyfills ?
  69. What is scan operator in RxJS ?
  70. How does spyOn work in Angular ?
  71. How to mock http request in Angular ?



Source: Angular Interview Questions For 3 Years Of Experience


For more questions and answers visit our website at Frontend Interview Questions

Comments

Popular posts from this blog

Angular Interview Questions For 5 Years Of Experience

Angular Interview Questions