DEV Community

Cover image for Basic Level Angular Interview Questions?
Acharya Anil
Acharya Anil

Posted on

Basic Level Angular Interview Questions?

Components

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

Templates

What is interpolation?
What is data binding?
What is pipe? Name some built in pipes?
What is class and style binding

Directives

What are built in directives available ?
What is the Use of ngFor and ngIf?
Dependency Injection
What Dependency Injection?

Routing & Navigation

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

Forms

Which module do we need to include for using forms in app and where?
What are the types of forms ?
What is ngModel ?
What is formControl?
How to initialize reactive form?
How to initialize template driven form?
Difference between dirty and touched?
HTTP Client
How to consume an JSON REST api (server)?
Which service use for hit an api?
Difference between get and post?
What is a header?

Testing

What is testing?
What is Unit test?
What is Karma?
What is Jasmine?

Internationalization (i18n)

How to localize the app?

Animation

How to use transition in Angular?
Which module supports Animation?

Schematics

How to generate Component using cli?
What is angular cli?
How to add angular material?
How to make prod build?

RxJS

What is Observable?
How to unsubscribe Observable?

Top comments (0)