Angular General Interview Questions
  1. What Are Directives in Angular?
  2. How Is Dependency Injection (DI) Done in Angular?
  3. What Is the Primary Language Used in Angular?
  4. What Is Data Binding?
  5. What are the key components of Angular?
  6. What are components?
  7. What is a template?
  8. What is a module?
  9. What is metadata?
  10. What is a service?
  11. What is the purpose of async pipe?
  12. What is the purpose of ngFor directive?
  13. What is the purpose of ngIf directive?
  14. What is interpolation?
  15. What are template expressions?
  16. What are template statements?
  17. How do you categorize data binding types?
  18. What are pipes?
  19. What is a parameterized pipe?
  20. What is the difference between pure and impure pipe?
  21. What are observables?
  22. What is HttpClient?
  23. What are the benefits of HttpClient?
  24. What is RxJS?
  25. What is subscribing?
  26. What is an observable?
  27. What is an observer?
  28. What is multicasting?
  29. What will happen if you do not supply handler for observer?
  30. What are angular elements?
  31. What are custom elements?
  32. Do I need to bootstrap custom elements?
  33. What are the mapping rules between Angular component and custom element?
  34. What are dynamic components?
  35. What are the various kinds of directives?
  36. How do you create directives using CLI?
  37. What is Angular Router?
  38. What is the purpose of base href tag?
  39. What are the router imports?
  40. What is router outlet?
  41. What are router links?
  42. What are active router links?
  43. What is router state?
  44. What are router events?
  45. What is activated route?
  46. What is the purpose of Wildcard route?
  47. Do I need a Routing Module always?
  48. What is Angular Universal?
  49. What are different types of compilation in Angular?
  50. What is JIT?
  51. What is AOT?
  52. Why do we need compilation process?
  53. What are the ways to control AOT compilation?
  54. What are the restrictions of metadata?
  55. Can I use arrow functions in AOT?
  56. What is the purpose of metadata json files?
  57. Can I use any javascript feature for expression syntax in AOT?
  58. What is folding?
  59. What is metadata rewriting?
  60. How do you provide configuration inheritance?
  61. What is type narrowing?
  62. How do you describe various dependencies in angular application?
  63. What is zone?
  64. What is the purpose of common module?
  65. What is codelyzer?
  66. What is angular animation?
  67. What is State function?
  68. What is Style function?
  69. What is transition function?
  70. What is a service worker and its role in Angular?
  71. What is Angular Ivy?
  72. What are the features included in ivy preview?
  73. Can I use AOT compilation with Ivy?
  74. What is Angular Language Service?
  75. Is there any editor support for Angular Language Service?
  76. What are the limitations with web workers?
  77. What is Angular CLI Builder?
  78. What is a builder?
  79. How do you invoke a builder?
  80. How do you create app shell in Angular?
  81. What are the case types in Angular?
  82. What are the class decorators in Angular?
  83. What are class field decorators?
  84. What is declarable in Angular?
  85. What are the restrictions on declarable classes?
  86. What is a DI token?
  87. What is Angular DSL?
  88. What is an rxjs subject in Angular?
  89. What is Bazel tool?
  90. What are the advantages of Bazel tool?
  91. What is platform in Angular?
  92. What happens if I import the same module twice?
  93. What is the purpose of differential loading in CLI?
  94. What is lazy loading?
  95. What are workspace APIs?
  96. How do you upgrade angular version?
  97. What is Angular Material?
  98. What is NgUpgrade?
  99. How to use polyfills in Angular application?
  100. What is the reason to deprecate Web Tracing Framework?
  101. What is schematic?
  102. What is rule in Schematics?
  103. What is Schematics CLI?
  104. What is Angular security model for preventing XSS attacks?
  105. What is the role of template compiler for prevention of XSS attacks?
  106. What are the various security contexts in Angular?
  107. What is Sanitization? Does Angular support it?
  108. Is safe to use direct DOM API methods in terms of security?
  109. What is DOM sanitizer?
  110. How do you support server side XSS protection in Angular application?
  111. What are Http Interceptors?
  112. How does Angular simplify Internationalization?
  113. What is the purpose of i18n attribute?
  114. What is select ICU expression?
  115. What is an angular library?
  116. What is AOT compiler?
  117. What is TestBed?
  118. What is protractor?
  119. What is collection?
  120. What is the purpose of hidden property?
  121. What is the difference between ngIf and hidden property?
  122. What is index property in ngFor directive?
  123. What is the purpose of ngSwitch directive?
  124. What is safe navigation operator?
  125. What are the list of template expression operators?
  126. What is the precedence between pipe and ternary operators?
  127. What is an entry component?
  128. Is it necessary for bootstrapped component to be entry component?
  129. Why is not necessary to use entryComponents array every time?
  130. Do I still need to use entryComponents array in Angular9?
  131. Are all components generated in production build?
  132. What is Angular compiler?
  133. What is the role of ngModule metadata in compilation process?
  134. How does angular finds components, directives and pipes?
  135. Give few examples for NgModules.
  136. What are feature modules?
  137. What are the imported modules in CLI generated feature modules?
  138. What are the possible errors with declarations?
  139. What are the steps to use declaration elements?
  140. What are the types of feature modules?
  141. What is the recommendation for provider scope?
  142. What are the different ways to remove duplicate service registration?
  143. How does forRoot method helpful to avoid duplicate router instances?
  144. What is a shared module?
  145. Can I share services using modules?
  146. What is ngcc?
  147. What classes should not be added to declarations?
  148. What is NgZone?
  149. What is NoopZone?
  150. What is a zone context?
  151. How do you configure injectors with providers at different levels?
  152. What is an optional dependency?
  153. What are the types of injector hierarchies?
  154. What are reactive forms?
  155. What are dynamic forms?
  156. What are template driven forms?
  157. What is the purpose of FormBuilder?
  158. What Is the Digest Cycle?
  159. What Are the Special Transition States?
  160. What Is Package.json? Explain its Purpose.
  161. What Does {{}} Represent? What Is It Used For?
  162. What Does the Representation [()] Mean?
  163. What Is the Single Page Application? How Is It Different From Traditional Web Technology?
  164. What Do You Know About the NPM Package?
  165. What is a provider in Angular?
  166. What is the difference between a service() and a factory()?
  167. Explain jQLite.
  168. What are the different types of filters in Angular?
  169. What is Transpiling in Angular?
  170. What is transclusion in Angular?
  171. List some tools for testing angular applications.
  172. What do you understand by REST in Angular?
  173. What is string interpolation in Angular?
  174. What is [(ngModel)] used for?
  175. What is the use of codelyzer?
  176. Explain the styling form that ngModel adds to CSS classes.
  177. What is BOM(Browser Object Model)?
  178. Explain "$rootScope" in AngularJS.
  179. Define ECMAScript.
  180. What is a Traceur Compiler?