Top 90+ Angular Interview Questions And Answers
- What is Angular and what are its key features ?
- What is a Single page application ?
- What is a component in Angular ?
- What are the lifecycle hooks in an Angular component ?
- How to implement routing in Angular web components ?
- What is lazy loading in Angular ?
- What are the ways to share data between 2 components ?
- What are custom directives in Angular and how to create them ?
- What is the difference between ng serve and npm start ?
- What is the difference between ng add and npm install ?
- Can we use jQuery in Angular 2/4/5 ?
- How to call an API in Angular ?
- What is the difference between 'dependencies' and 'dev-dependencies' properties in package.json ?
- What is replay subject in angular ?
- What is the difference between adding styles and scripts in angular.json and adding styles and scripts in index.html ?
- What is the difference between cold observables and hot observables ?
- What are the properties inside @ngModule decorator ?
- How to generate a component using cli command without creating its spec file ?
- What is RxJS ?
- HttpClientModule was introduced in which version of Angular ?
- Is it necessary to define a constructor in a component ?
- What are the security features in angular ?
- What is testbed in Jasmine ?
- What is the difference between Subject and Behaviour Subject ?
- What are the advantage of using observable instead of promise for http request ?
- Difference between authorization and authentication. Explain the basic difference and also in the context of an angular application ?
- What is AOT in Angular ?
- How to create custom pipe in Angular ?
- What are inbuilt Angular pipes ?
- Explain Software version nomenclature (semantic versioning) ?
- What is storybook in Angular ?
- What are the design patterns in Angular ?
- What are the disadvantages of AOT ?
- What is the use of tilde(~) and caret(^) sign in package.json ?
- What are interceptors in Angular ?
- Can we rename dist folder in Angular Project ?
- How would the browser Know that your app is an Angular based app ?
- How to create a custom decorator in Angular ?
- How to make multiple http calls in parallel in Angular ?
- What is a module in TypeScript, and how can you use it ?
- How to hit an API before the loading of the appComponent ?
- If there is a package(or say library) that is not available through NPM , then how would you use it in your angular application ?
- How to implement treeshaking in Angular ?
- What can be the values of 'providedIn' property of @injectable decorator ?
- How to optimize Angular application using OnPush change detection strategy ?
- What is the latest Angular version and what are the new features added in it ?
- What are the types of forms available in Angular ? Explain with syntax.
- What are dynamic forms and how to create them in Angular ?
- How to show error messages on form controls ?
- How to use a service only for a specific component instead of the whole module ?
- Can you put ngIf and ngFor on same element ?
- What's the difference between Observable and Subject ?
- How does ng serve work ?
- How to improve Angular app performance ?
- What is AuthGuard in Angular ?
- Explain the canActivateChild route guard ?
- What is the difference between Canload and canActivate route guards ?
- Explain switch map , mergemap , forkjoin, combineLatest, concatMap, exhaustMap . what would happen if any of the requests fails in switch map , merge map or forkjoin ?
- What is dependency injection ?
- What's the difference between debounce and setTimeout ?
- What are RxJS key features ?
- How do you handle errors in RxJS observables ?
- How do you implement backpressure in RxJS ?
- What is the purpose of operators in RxJS, and can you give an example of a common operator ?
- Can you explain what is the purpose of using schedulers in RxJS, and give an example of a common scheduler ?
- What is the difference between a pipeable operator and a patch operator in RxJS ?
- What are services in Angular ?
- What is the difference between AOT and JIT ?
- What are the different building blocks of Angular ?
- How do you use the retry() operator in RxJS, and what is its purpose ?
- What is Angular change detection and how does it work ?
- What is zone js in Angular ?
- How to dynamically create form fields with FormArray in Angular ?
- What is ngZone in Angular ?
- Can event triggered in parent cause change detection in child with OnPush strategy in Angular ?
- Can event triggered in child cause change detection in parent with OnPush strategy in Angular ?
- How to optimize an Angular application ?
- Explain pure and impure pipe in Angular ?
- Explain unit testing in Angular ?
- How to test an Angular Service ?
- Explain ngAfterContentInit hooks ?
- Explain ngAfterViewInit hook with example ?
- Difference between ngAfterContentInit and ngAfterViewInit ?
- What is View Encapsulation in Angular ?
- What is the use of polyfills ?
- What is scan operator in RxJS ?
- How does spyOn work in Angular ?
- How to mock http request in Angular ?
- What is the difference between 'from' and 'of' operator in RxJS ?
- What is reduce operator in RxJS ?
- What is the use of trackBy in Angular ?
For more questions and answers visit our website at Frontend Interview Questions
For more questions and answers visit our website at Frontend Interview Questions
Comments
Post a Comment