Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Angular interview questions with answers

via Udemy

Overview

Angular interview questions with answers

What you'll learn:
  • How to answer basic questions around directives, CLI,Component , Modules, Decorator,Annotations, Types of Bindings and SPA.
  • Tackling Advanced interview questions around routing,Lazy Loading, Services & Dependency Injection .
  • To the point answers around ViewChild,ViewChildren,ContentChild , ContentChildren & Content projection.
  • Giving crystal clear answers on constructor vs ngonInit() and Angular component life cycle.
  • Simple lucid answers to Http calls, Routing , Pipes ,Error handling questions and different ways of passing data and in what scenarios to use them.
  • Tricky questions of RxJs like observable , observer , operators, promise vs rxjs, importance of subscribe and understanding push/pull/reactive/imperative.
  • Dedicated chapter on validation covering Template driven,reactive forms,When to use what,Composite& Dynamic validations , Custom & inbuilt validators.

Knowing Angular and still not able to crack interviews , then you are at the right place. :-)

This course focuses on revising most asked interview questions around Angular. Interview is all about expressing your answers in a precise and proper way. You can have tons of knowledge , you must have done tons of coding but cracking interview is a different ball game.

This course is revision course where i have focused on what kind of questions are asked and how to answer them in a elaborate way. Please note this course does not teach Angular , if you want to learn Angular please check my Learn Angular step by step video series.

Below are the questions covered in this course, Happy learning , Happy job hunting.


25 Interview Questions on Angular basic concepts - Part 1.

  • Question 1 :- Whats the use of Angular ?

  • Question 2 :- What are directives in Angular ?

  • Question 3 :- Explain the different types of Angular directives ?

  • Question 4 :- Explain the importance of NPM and Node_Modules folder ?

  • Question 5 :- Explain the importance of Package.json file in Angular ?

  • Question 6 :- What is typescript and why do we need it ?

  • Question 7 :- Explain importance of Angular CLI ?

  • Question 8 :- Explain the importance of Component and Modules ?

  • Question 9 :- What is a decorator in Angular ?

  • Question 10 :- What are Annotation or MetaData ?

  • Question 11 :- What is a template ?

  • Question 12 :- Explain the four types of Data bindings in Angular ?

  • Question 13 :- Explain architecture of Angular ?

  • Question 14 :- What is SPA in Angular ?

  • Question 15 :- How to implement SPA in Angular ?

  • Question 16 :- How to implement routing in Angular ?

  • Question 17 :- Explain Lazy Loading ?

  • Question 18 :- How to implement Lazy Loading in Angular ?

  • Question 19 :- Define Services ?

  • Question 20 :- What is Dependency Injection ?

  • Question 21 :- How to implement Dependency Injection ?

  • Question 23 :- Whats the benefit of Dependency Injection ?

  • Question 24 :- Differentiate between ng serve and ng build ?

  • Question 25 :- Explain the --prod parameter in ng build ?

Covered 6 Important questions on ViewChild and ViewChildren in Angular - Part 2.

  • Question 26 :- Explain ViewChild and ViewChildren ?

  • Question 27 :- Why do we need Template reference variables ?

  • Question 28 :- What is ContentProjection ?

  • Question 29 :- Explain Content projection Slot ?

  • Question 30 :- What is ContentChild and ContentChildren?

  • Question 31 :- ViewChild vs ViewChildren vs ContentChild vs ContentChildren ?

Questions around Angular component lifecycle - Part 3.

  • Question 32 :- Explain the importance of Component life cycle ?

  • Question 33 :- Explain events and sequence of component life cycle ?

  • Question 34 :- constructor vs ngOnInit() ?

Tricky Interview questions on HTTP calls, Emitters & Routing - Part 4.

  • Question 35 :- How to make HTTP calls using Angular ?

  • Question 36 :- What is the need of Subscribe function ?

  • Question 37 :- How to handle errors when HTTP fails ?

  • Question 38 :- How to pass data between components ?

  • Question 39 :- What are input , output and event emitters ?

  • Question 40 :- How to pass data during routing ?

  • Question 41 :- Is it a good practice to pass data using services ?

Questions on Angular Pipes - Part 5.

  • Question 42 :- What is the need of Angular Pipes ?

  • Question 43 :- Can you name some built-in Angular pipes ?

  • Question 44 :- How to create Custom pipes in Angular ?

Ten important questions on RxJS (Reactive Extensions for JavaScript) - Part 6

  • Question 45 :- What is the fullform of RxJS ?

  • Question 46 :- What is the purpose of RxJS ?

  • Question 47 :- What are Observables and Observers ?

  • Question 48 :- Explain the use of Subscribe with sample code ?

  • Question 49 :- How to unsubscriber in RxJS ?

  • Question 50 :- Explain the concept of operators with sample code?

  • Question 51 :- How to install RxJS ?

  • Question 52 :- Differntiate between promise and RxJS ?

  • Question 53 :- In Angular where have you used RxJS?

  • Question 54 :- Which operators have used from RxJS ?

  • Question 55 :- What is the Push/Reactive vs Pull/Imperative?

Essential questions around Interceptors - Part 7.

  • Question 56 :- What are Interceptors in Angular?

  • Question 57 :- How to implement Interceptors?

  • Question 58 :- Give some use of Interceptors?

  • Question 59 :- Can we provide multi-Interceptors?

13 Important Interview Questions on Angular Validations - Part 8

  • Question 60 :- What are two ways of doing validation in Angular?

  • Question 61 :- Template driven forms VS Reactive Forms?

  • Question 62 :- In what situations you will use what?

  • Question 63 :- Explain template reference variables ?

  • Question 64 :- How do we implement Template driven forms?

  • Question 65 :- How do we implement Reactive forms ?

  • Question 66 :- How can we implement composite validations?

  • Question 67 :- How to create dynamic validation ?

  • Question 68 :- How to check if overall validation and specific validations are good ?

  • Question 69 :- Can you talk about some inbuilt validators ?

  • Question 70:- How can you create your own custom validator ?

  • Question 71:- Can we implement angular validators with out FORM tag ?

  • Question 72:- What is [ngModelOptions]="{standalone: true}" ?

Taught by

Shivprasad Koirala

Reviews

4.6 rating at Udemy based on 2159 ratings

Start your review of Angular interview questions with answers

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.