Filter interviews by
Dependency Injection is a design pattern in which a class receives its dependencies from external sources rather than creating them itself.
Allows for easier testing by injecting mock dependencies
Promotes reusability and modularity by decoupling components
Reduces code duplication by centralizing dependency creation
Example: Angular uses Dependency Injection to provide services to components
Routing is the process of navigating between different pages or views in a web application.
Routing allows users to move between different parts of a web application without reloading the entire page
It is implemented using a router module in Angular, which maps URLs to components
Routes can have parameters that can be passed to components for dynamic content
Routing can be used to create single-page applications (SPAs) wh
I applied via Referral and was interviewed in Aug 2024. There was 1 interview round.
Sort array without using methods
Iterate through the array and compare each element with the rest to find the correct position
Swap elements if necessary to sort the array in ascending order
Repeat the process until the array is fully sorted
Reverse a string without using built-in methods
Create an empty string to store the reversed string
Iterate through the input string from the last character to the first
Append each character to the empty string to reverse the input string
ngClass is used to conditionally apply CSS classes to an element in Angular.
Use ngClass directive in the template with an object or array of classes and conditions
Classes are applied when the condition is true, and removed when false
Example:
Angular interceptors are a way to intercept HTTP requests and responses to perform operations like logging, modifying requests, or handling errors.
Interceptors can be used to modify outgoing requests or incoming responses.
They can be used for tasks like adding headers, logging requests, handling errors, or transforming data.
Interceptors are implemented as services that implement the HttpInterceptor interface.
Multiple i...
The entry point of Angular is typically the main.ts file.
Main.ts file is the first file that is executed when an Angular application is started.
It bootstraps the AppModule, which is the root module of the application.
Main.ts file also imports other necessary modules and components required for the application to run.
I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.
Position absolute removes element from normal flow, relative keeps element in flow but can be positioned.
Position absolute removes element from normal flow, allowing it to be positioned relative to its closest positioned ancestor.
Position relative keeps element in normal flow but allows it to be positioned relative to its normal position.
Position absolute elements are not affected by other elements and can overlap, whi...
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 in Sep 2024. There was 1 interview round.
I applied via Referral and was interviewed in Nov 2024. There was 1 interview round.
Time queue in API refers to managing requests in a sequential order.
Time queue ensures that API requests are processed in the order they are received.
It helps in preventing overload on the server by limiting the number of concurrent requests.
Examples include using promises or async/await in JavaScript to handle API calls sequentially.
Closure in JavaScript allows a function to access variables from its outer scope even after the function has finished executing.
Closure is created when a function is defined within another function and the inner function references variables from the outer function.
The inner function maintains a reference to the outer function's scope even after the outer function has finished executing.
Closures are commonly used in ev...
NAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Vice President Marketing
4
salaries
| ₹46.3 L/yr - ₹50 L/yr |
Senior .NET Developer
4
salaries
| ₹29.7 L/yr - ₹35 L/yr |
Software Developer
3
salaries
| ₹10.4 L/yr - ₹14 L/yr |
Software Development Engineer
3
salaries
| ₹10 L/yr - ₹14.5 L/yr |
TCS
Infosys
Wipro
HCLTech