sudheerj / angular-interview-questions
List of 300 Angular Interview Questions and answers
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing sudheerj/angular-interview-questions in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewAngular Interview Questions & Answers > Click :star: if you like the project and follow @SudheerJonna for technical updates. Table of Contents | No. | Questions | |---- | --------- |1 | What is Angular Framework?| |2 | What is the difference between AngularJS and Angular?| |3 | What is TypeScript?| |4 | Write a pictorial diagram of Angular architecture?| |5 | What are the key components of Angular?| |6 | What are directives?| |7 | What are components?| |8 | What are the differences between Component and Directive?| |9 | What is a template?| |10| What is a module?| |11| What are lifecycle hooks available?| |12| What is a data binding?| |13| What is metadata?| |14| What is Angular CLI?| |15| What is the difference between constructor and ngOnInit?| |16| What is a service| |17| What is dependency injection in Angular?| |18| How is Dependency Hierarchy formed?| |19| What is the purpose of async pipe?| |20| What is the option to choose between inline and external template file?| |21| What is the purpose of *ngFor directive?| |22| What is the purpose of ngIf directive?| |23| What happens if you use script tag inside template?| |24| What is interpolation?| |25| What are template expressions?| |26| What are template statements?| |27| How do you categorize data binding types?| |28| What are pipes?| |29| What is a parameterized pipe?| |30| How do you chain pipes?| |31| What is a custom pipe?| |32| Give an example of custom pipe?| |33| What is the difference between pure and impure pipe?| |34| What is a bootstrapping module?| |35| What are observables?| |36| What is HttpClient and its benefits?| |37| Explain on how to use HttpClient with an example?| |38| How can you read full response?| |39| How do you perform Error handling?| |40| What is RxJS?| |41| What is subscribing?| |42| What is an observable?| |43| What is an observer?| |44| What is the difference between promise and observable?| |45| What is multicasting?| |46| How do you perform error handling in observables?| |47| What is the shorthand notation for subscribe method?| |48| What are the utility functions provided by RxJS?| |49| What are observable creation functions?| |50| What will happen if you do not supply handler for the observer?| |51| What are Angular elements?| |52| What is the browser support of Angular Elements?| |53| What are custom elements?| |54| Do I need to bootstrap custom elements?| |55| Explain how custom elements works internally?| |56| How to transfer components to custom elements?| |57| What are the mapping rules between Angular component and custom element?| |58| How do you define typings for custom elements?| |59| What are dynamic components?| |60| What are the various kinds of directives?| |61| How do you create directives using CLI?| |62| Give an example for attribute directives?| |63| What is Angular Router?| |64| What is the purpose of base href tag?| |65| What are the router imports?| |66| What is router outlet?| |67| What are router links?| |68| What are active router links?| |69| What is router state?| |70| What are router events?| |71| What is activated route?| |72| How do you define routes?| |73| What is the purpose of Wildcard route?| |74| Do I need a Routing Module always?| |75| What is Angular Universal?| |76| What are different types of compilation in Angular?| |77| What is JIT?| |78| What is AOT?| |79| Why do we need compilation process?| |80| What are the advantages with AOT?| |81| What are the ways to control AOT compilation?| |82| What are the restrictions of metadata?| |83| What are the three phases of AOT?| |84| Can I use arrow functions in AOT?| |85| What is the purpose of metadata json files?| |86| Can I use any javascript feature for expression syntax in AOT?| |87| What is folding?| |88| What are macros?| |89| Give an example of few metadata errors?| |90| What is metadata rewriting?| |91| How do you provide configuration inheritance?| |92| How do you specify angular template compiler options?| |93| How do you enable binding expression validation?| |94| What is the purpose of any type cast function?| |95| What is Non null type assertion operator?| |96| What is type narrowing?| |97| How do you describe various dependencies in angular application?| |98| What is zone?| |99| What is the purpose of common module?| |100| What is codelyzer?| |101| What is angular animation?| |102| What are the steps to use animation module?| |103| What is State function?| |104| What is Style function?| |105| What is the purpose of animate function?| |106| What is transition function?| |107| How to inject the dynamic script in angular?| |108| What is a service worker and its role in Angular?| |109| What are the design goals of service workers?| |110| What are the differences between AngularJS and Angular with respect to dependency injection?| |111| What is Angular Ivy?| |112| What are the features included in ivy preview?| |113| Can I use AOT compilation with Ivy?| |114| What is Angular Language Service?| |115| How do you install angular language service in the project?| |116| Is there any editor support for Angular Language Service?| |117| Explain the features provided by Angular Language Service?| |118| How do you add web workers in your application?| |119| What are the limitations with web workers?| |120| What is Angular CLI Builder?| |121| What is a builder?| |122| How do you invoke a builder?| |123| How do you create app shell in Angular?| |124| What are the case types in Angular?| |125| What are the class decorators in Angular?| |126| What are class field decorators?| |127| What is declarable in Angular?| |128| What are the restrictions on declarable classes?| |129| What is a DI token?| |130| What is Angular DSL?| |131| What is an rxjs Subject?| |132| What is Bazel tool?| |133| What are the advantages of Bazel tool?| |134| How do you use Bazel with Angular CLI?| |135| How do you run Bazel directly?| |136| What is platform in Angular?| |137| What happens if I import the same module twice?| |138| How do you selec…