Basic Level Angular Interview Questions?

Image from unsplash Touann Gatouillat Vergos

Components

  1. What is the component?
  2. What are the life cycle hooks in components?
  3. How to send data from Parent to Child?

Templates

  1. What is interpolation?
  2. What is data binding?
  3. What is pipe? Name some built in pipes?
  4. What is class and style binding

Directives

  1. What are built in directives available ?
  2. What is the Use of ngFor and ngIf?

Dependency Injection

  1. What Dependency Injection?

Routing & Navigation

  1. How to enable routing?
  2. What is syntax for routing?
  3. What is SPA (Single page application)?
  4. How to provide a link to another page in html template?
  5. How to navigate dynamically to path /page from ts(class)?

Forms

  1. Which module do we need to include for using forms in app and where?
  2. What are the types of forms ?
  3. What is ngModel ?
  4. What is formControl?
  5. How to initialize reactive form?
  6. How to initialize template driven form?
  7. Difference between dirty and touched?

HTTP Client

  1. How to consume an JSON REST api (server)?
  2. Which service use for hit an api?
  3. Difference between get and post?
  4. What is a header?

Testing

  1. What is testing?
  2. What is Unit test?
  3. What is Karma?
  4. What is Jasmine?

Internationalization (i18n)

  1. How to localize the app?

Animation

  1. How to use transition in Angular?
  2. Which module supports Animation?

Schematics

  1. How to generate Component using cli?
  2. What is angular cli?
  3. How to add angular material?
  4. How to make prod build?

RxJS

  1. What is Observable?
  2. How to unsubscribe Observable?

--

--

Software Engineer | Bharat Swabhiman Patanjali Social Activist | Speaker | Motivator | Yoga Trainer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
ACHARYA ANIL SURYAVANSHI

Software Engineer | Bharat Swabhiman Patanjali Social Activist | Speaker | Motivator | Yoga Trainer