i
Choice Techlab
Filter interviews by
I applied via Naukri.com and was interviewed in Jan 2023. There were 2 interview rounds.
Life cycle hooks are functions that get called at specific stages of a component's life cycle.
Angular provides several life cycle hooks that allow you to tap into specific moments in a component's life cycle.
Some common life cycle hooks include ngOnInit, ngOnChanges, and ngOnDestroy.
ngOnInit is called after the component has been initialized and its inputs have been bound.
ngOnChanges is called whenever one or more of t...
Routing in Angular is the process of navigating between different components and views based on the URL.
Routing is defined in the app-routing.module.ts file
Routes are defined using the RouterModule.forRoot() method
Each route maps a URL path to a component
RouterLink directive is used to navigate between routes in HTML
Router.navigate() method is used to navigate programmatically
Child routes can be defined for nested comp
Top trending discussions
I applied via Naukri.com and was interviewed in Sep 2024. There were 2 interview rounds.
AOT and JIT are compilation techniques in Angular.
AOT (Ahead-of-Time) compilation is done at build time, converting TypeScript and HTML code into efficient JavaScript code before the browser runs it.
JIT (Just-in-Time) compilation is done at runtime, converting TypeScript and HTML code into JavaScript code while the application is running.
AOT improves performance by reducing the size of the bundle and optimizing the cod...
Observables are streams of data that can be subscribed to, while promises are a single future value.
Observables can handle multiple values over time, while promises can only handle a single value.
Observables are cancellable, while promises are not.
Observables support operators like map, filter, and reduce for data transformation.
Promises have a simpler API with just then and catch methods.
Observables are lazy, meaning ...
Data binding is the automatic synchronization of data between the model and view components in an application.
Data binding allows for the seamless updating of data in the model and reflecting those changes in the view without manual intervention.
There are two types of data binding in Angular: one-way binding and two-way binding.
One-way binding updates the view when the model changes, while two-way binding updates both ...
Closure is a function that has access to its own scope, as well as the scope of its outer function.
A closure allows a function to access variables from its outer function even after the outer function has finished executing.
Closures are commonly used in JavaScript to create private variables and functions.
Example: function outerFunction() { let outerVar = 'I am outer'; return function innerFunction() { console.log(oute
Lazy loading in Angular is a technique used to load modules only when they are needed, improving performance.
Lazy loading helps reduce initial load time by loading modules on demand
Implemented using loadChildren property in routes configuration
Lazy loaded modules have their own routes and components
Directives in Angular are markers on a DOM element that tell Angular to attach a specified behavior to that DOM element or transform the DOM element and its children.
Directives are used to create reusable components in Angular.
There are three types of directives in Angular: Component, Structural, and Attribute directives.
Examples of directives include ngIf, ngFor, and ngStyle.
Pagination task and filter table data
posted on 21 Nov 2024
posted on 13 May 2024
I applied via Approached by Company and was interviewed in Apr 2024. There were 2 interview rounds.
I applied via Approached by Company and was interviewed in Jan 2024. There was 1 interview round.
SVG is a vector-based graphics format while Canvas is a bitmap-based graphics format.
SVG uses XML to define graphics and is resolution-independent.
SVG elements can be styled with CSS and manipulated with JavaScript.
Canvas is a pixel-based grid where graphics are drawn programmatically.
Canvas is more suitable for complex animations and real-time rendering.
Canvas has better performance for rendering large amounts of data
Routing in Angular allows for navigation between different components and views within an application.
Angular's router module provides a way to define routes and their corresponding components.
Routes can be configured with path, component, and other properties.
RouterOutlet is used to display the component associated with the current route.
RouterLink is used to navigate to different routes.
Child routes can be defined to...
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...
posted on 30 Sep 2024
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
posted on 21 Nov 2024
Associate Software Engineer
33
salaries
| ₹2 L/yr - ₹6.5 L/yr |
Software Engineer
19
salaries
| ₹3.8 L/yr - ₹8 L/yr |
Senior Software Engineer
17
salaries
| ₹5.2 L/yr - ₹15 L/yr |
QA Engineer
8
salaries
| ₹2.9 L/yr - ₹7 L/yr |
Software Developer
7
salaries
| ₹2.8 L/yr - ₹5.2 L/yr |
TCS
Infosys
Wipro
HCLTech