Filter interviews by
I applied via Naukri.com and was interviewed in May 2022. There were 2 interview rounds.
Dependency Injection is a design pattern used in Angular to inject dependencies into a component or service.
It allows for easier testing and maintenance of code
Dependencies are injected through the constructor of a component or service
Angular has its own Dependency Injection system built-in
Services can be shared across multiple components through Dependency Injection
Observables are streams of data that can be subscribed to, while promises are a one-time operation that returns a single value.
Observables can emit multiple values over time, while promises only return a single value.
Observables can be cancelled, while promises cannot.
Observables are lazy, meaning they only execute when subscribed to, while promises execute immediately.
Observables have operators that can transform, fil...
Directives are markers on a DOM element that tell AngularJS to attach a specified behavior to that DOM element.
Directives are used to create reusable components.
They can be used to manipulate the DOM.
They can be used to add behavior to an existing DOM element.
They can be used to create custom attributes.
Examples include ng-repeat, ng-model, and ng-show.
Pure pipes are stateless and only depend on input data, while impure pipes have internal state and can have side effects.
Pure pipes are faster and more efficient than impure pipes.
Pure pipes are used for simple transformations of data, while impure pipes are used for more complex transformations.
Examples of pure pipes include currency and date formatting, while examples of impure pipes include filtering and sorting.
To ...
Interceptors are used to intercept HTTP requests and responses to perform transformations or error handling.
Interceptors can be used to add headers to outgoing requests or handle errors in incoming responses.
They can also be used to modify the request or response before it is sent or received.
Interceptors can be global or specific to a certain request or response.
They are useful for implementing authentication, caching...
posted on 23 Oct 2024
I was interviewed in Apr 2024.
Event loop is a mechanism in programming that allows for asynchronous execution of code.
Event loop is responsible for handling and executing events in a non-blocking manner.
It continuously checks the event queue and processes events one by one.
Event loop is commonly used in JavaScript to handle asynchronous operations like setTimeout, setInterval, and AJAX requests.
Yes, I have written custom directives in Angular for specific UI functionalities.
Created a custom directive for form validation in Angular
Implemented a custom directive for dynamic styling of elements based on user input
Developed a custom directive for lazy loading images in Angular
posted on 29 Nov 2024
I applied via Recruitment Consulltant and was interviewed in Oct 2024. There was 1 interview round.
There are two types of compilations in Angular: Just-in-Time (JIT) compilation and Ahead-of-Time (AOT) compilation.
Just-in-Time (JIT) compilation: Compiles the Angular application in the browser at runtime. Slower startup time but easier development process.
Ahead-of-Time (AOT) compilation: Compiles the Angular application during the build process before the browser downloads and runs the code. Faster startup time but r
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 elements in the DOM
Templates define the UI of the application
Dependency injecti...
posted on 17 Oct 2024
I applied via Company Website and was interviewed in Sep 2024. There was 1 interview round.
Using services or @Input/@Output decorators to share data between components
Use services to create a shared data service that can be injected into multiple components
Use @Input decorator to pass data from parent to child component
Use @Output decorator with EventEmitter to emit events and pass data from child to parent component
Http request in Angular is used to fetch data from a server or API.
Use HttpClient module to make HTTP requests in Angular
Subscribe to the Observable returned by the HTTP request to get the data
Handle errors using catchError operator
Set headers, query parameters, and request body as needed
I applied via Naukri.com and was interviewed in May 2024. There were 2 interview rounds.
Angular basics and structure, Forms, Unit testing based(testbed)..
Swapping the numbers in a program involves exchanging the values of two variables.
Create a temporary variable to store one of the values
Assign the value of the first variable to the second variable
Assign the value of the temporary variable to the first variable
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.
NAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Basic angular application without using server
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
Technical Lead
3.3k
salaries
| ₹7 L/yr - ₹25 L/yr |
Software Engineer
3.2k
salaries
| ₹2 L/yr - ₹9.5 L/yr |
Senior Software Engineer
2.7k
salaries
| ₹4.8 L/yr - ₹18 L/yr |
Lead Engineer
2.4k
salaries
| ₹4.3 L/yr - ₹14 L/yr |
Senior Analyst
2.1k
salaries
| ₹1.9 L/yr - ₹10 L/yr |
HCLTech
TCS
Tata Group
Wipro