i
Resilient Lab
Filter interviews by
I applied via LinkedIn and was interviewed before Jan 2023. There were 3 interview rounds.
Data binding is the automatic synchronization of data between the model and view. Angular uses two-way data binding.
Data binding is the process of connecting the model and view in an application.
It allows changes in the model to automatically update the view, and vice versa.
Angular uses two-way data binding, which means changes in the model or view are reflected in both directions.
Example: If a user updates a form inpu...
Single Page Applications (SPA) are web applications that load a single HTML page and dynamically update the content.
SPA loads a single HTML page initially and then updates the content dynamically without refreshing the entire page.
They use JavaScript frameworks like Angular, React, or Vue.js to handle the dynamic updates.
SPA provides a more responsive and seamless user experience.
Examples of SPAs include Gmail, Faceboo
Decorators in Angular are functions that modify classes, methods, or properties at design time.
Decorators are used to add metadata to classes, methods, or properties in Angular.
They are declared using the @ symbol followed by the decorator name.
Decorators can be used for various purposes like adding behavior, modifying behavior, or providing configuration.
Some commonly used decorators in Angular include @Component, @Di...
Need to solve 2 from 3 problems. Sufficient time given.
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
Using a shared service to communicate data between unrelated components in Angular.
Create a shared service with a BehaviorSubject to store and emit data
Inject the shared service into both components that need to share data
Subscribe to the BehaviorSubject in each component to receive updates
Lazy loading in Angular allows for loading modules only when they are needed, improving performance.
Lazy loading is achieved by using the loadChildren property in the route configuration.
Modules are loaded asynchronously when the user navigates to a route that requires them.
Lazy loading helps reduce the initial bundle size and improve the app's loading time.
Example: { path: 'admin', loadChildren: () => import('./admin/
Prevent XSS vulnerability by sanitizing user input, using Angular's built-in security features, and implementing Content Security Policy.
Sanitize user input by using Angular's DomSanitizer to prevent execution of malicious scripts
Use Angular's built-in security features like SafeValue and SafeHtml to securely render user input
Implement Content Security Policy (CSP) to restrict the sources from which scripts can be load...
Use observables and combineLatest operator to fetch data from multiple services in a component
Create observables for each service call
Use combineLatest operator to combine the observables and fetch data from all services at once
Subscribe to the combined observable to get the data
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 was interviewed in Jul 2024.
Angular version and their differences
Angular is a popular open-source web application framework developed by Google for building dynamic single-page applications.
Angular is based on TypeScript, a superset of JavaScript.
It uses a component-based architecture for building UI elements.
Angular provides features like data binding, dependency injection, and routing.
It has a powerful CLI for scaffolding and managing projects.
Angular is commonly used for building
I applied via Recruitment Consulltant and was interviewed in Jul 2024. There was 1 interview round.
I applied via Naukri.com
I was interviewed in Feb 2024.
posted on 5 Jul 2024
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
Lazy loading is a technique in web development where resources are loaded only when needed, improving performance.
Lazy loading helps reduce initial load time by loading resources on demand
It is commonly used in Angular for loading modules, components, or routes asynchronously
Lazy loading can improve user experience by only loading necessary resources when required
A directive in Angular is a marker on a DOM element that tells Angular to attach a specific behavior to that element.
Directives are used to extend HTML with new attributes or elements.
They can be classified into three types: Component, Structural, and Attribute directives.
Examples include ngIf, ngFor, and ngStyle.
I applied via Naukri.com and was interviewed in Sep 2020. There were 3 interview rounds.
based on 1 review
Rating in categories
Angular Developer
4
salaries
| ₹2 L/yr - ₹5 L/yr |
TCS
Accenture
Wipro
Cognizant