Basic Level Angular Interview Questions?
2 min readFeb 28, 2021
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
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?
Updates in Angular 14
- What is standalone component
- What is signal
Updates in Angular 15
- soon
Updates in Angular 16
- soon
Updates in Angular 17
- soon
Updates in Angular 18
- soon