i
Birlasoft
Filter interviews by
Services in Angular are classes that are responsible for specific tasks like fetching data from a server or logging errors.
Services are used to encapsulate reusable functionality
They can be injected into components or other services
Examples include HTTP service for making API calls and logging service for handling errors
Top trending discussions
Building blocks of Angular include components, modules, services, directives, templates, and dependency injection.
Components are the basic building blocks of Angular applications.
Modules help organize the application into cohesive blocks of functionality.
Services are reusable code that can be injected into components.
Directives add behavior to the DOM elements.
Templates define the view of the application.
Dependency inj...
Pipes in Angular are used to transform data before displaying it in the view.
Pipes are used to format data in templates.
There are built-in pipes like DatePipe, UpperCasePipe, LowerCasePipe, etc.
Custom pipes can be created using @Pipe decorator.
Pipes can be chained together for complex transformations.
Example: {{ birthday | date:'dd/MM/yyyy' }} will format the birthday date.
I applied via Naukri.com and was interviewed before Dec 2022. There were 4 interview rounds.
I applied via Naukri.com and was interviewed in Oct 2021. There were 3 interview rounds.
Answering questions related to Angular development
Dependency injection is a way to provide dependencies to a class
forRoot is used to configure services at the root level
forChild is used to configure services at the child level
Reusable components can be created by breaking down complex components into smaller ones
Services can be injected using constructor injection or property injection
posted on 13 May 2024
I applied via Approached by Company and was interviewed in Apr 2024. There were 2 interview rounds.
Angular life cycle hooks are methods that allow you to tap into specific points in a component's life cycle.
ngOnChanges: called when an input property changes
ngOnInit: called once the component is initialized
ngOnDestroy: called before the component is destroyed
ngAfterViewInit: called after the component's view has been fully initialized
The digest cycle in Angular is the process where Angular checks all the watchers in the scope for changes and updates the view accordingly.
During the digest cycle, Angular compares the current value of the watchers with the previous value to detect changes.
If a change is detected, Angular updates the view to reflect the changes.
The digest cycle continues until all watchers have been checked and no more changes are dete...
Number vs parseInt: Number converts a string to a number, parseInt parses a string and returns an integer. Find vs Filter: Find returns the first element that matches a condition, Filter returns all elements that match a condition.
Number vs parseInt: Number('10') returns 10, parseInt('10.5') returns 10
Find vs Filter: [1, 2, 3, 4, 5].find(num => num > 3) returns 4, [1, 2, 3, 4, 5].filter(num => num > 3) returns [4, 5]
posted on 15 Mar 2024
Promises are objects representing the eventual completion or failure of an asynchronous operation. Types refer to the data types in TypeScript.
Promises are used for handling asynchronous operations in JavaScript.
They can be in one of three states: pending, fulfilled, or rejected.
Types in TypeScript help catch errors early by enforcing data types at compile time.
Examples: Promise.resolve(), Promise.reject(), string, num
Create a reactive form in Angular to save data in API with validation
Create a reactive form using FormBuilder in Angular
Add form controls with proper validation rules using Validators
Handle form submission and send data to API using HttpClient
Implement error handling for API requests
Display success or error messages to the user
Auth-guard is a feature in Angular that controls access to routes based on user authentication status.
Auth-guards are used to protect routes in Angular applications by checking if a user is authenticated before allowing access.
They can be implemented using canActivate interface in Angular.
Auth-guards can redirect unauthenticated users to a login page or display an error message.
They are commonly used in applications wi...
There are multiple ways to communicate in Angular components, including Input, Output, ViewChild, and Services.
Input - parent component can pass data to child component using @Input decorator
Output - child component can emit events to parent component using @Output decorator
ViewChild - parent component can access child component using @ViewChild decorator
Services - components can communicate through shared services
Use JavaScript to find the longest word in a string.
Split the string into an array of words using split() method.
Iterate through the array and compare the length of each word to find the longest one.
Return the longest word found.
I started my career as a web developer, specializing in frontend technologies like Angular. I have worked on various projects and gained valuable experience.
Started career as web developer
Specialized in frontend technologies like Angular
Worked on various projects
Gained valuable experience
I have expertise in developing Angular frontend applications with strong knowledge of TypeScript, HTML, CSS, and Angular frameworks.
Strong knowledge of TypeScript, HTML, and CSS
Experience in developing Angular frontend applications
Familiarity with Angular frameworks like AngularJS, Angular 2+, Angular Material
Understanding of reactive programming and observables in Angular
Knowledge of state management with tools like N
I applied via Naukri.com and was interviewed before Dec 2022. There were 4 interview rounds.
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Software Developer
1.5k
salaries
| ₹2.5 L/yr - ₹11 L/yr |
Senior Software Engineer
1.3k
salaries
| ₹5.4 L/yr - ₹20 L/yr |
Technical Specialist
1.1k
salaries
| ₹8 L/yr - ₹30 L/yr |
Technical Lead
1.1k
salaries
| ₹10 L/yr - ₹36 L/yr |
Software Engineer
1.1k
salaries
| ₹2.8 L/yr - ₹11 L/yr |
Accenture
Cognizant
Capgemini
Wipro