i
TCS
Filter interviews by
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-show, and ng-hide.
Decorators are functions that modify classes, methods, or properties at design time.
Decorators are used in Angular to add metadata to classes, methods, and properties.
They are denoted by the @ symbol and placed immediately before the item being decorated.
Examples include @Component, @Injectable, and @Input.
Decorators can be used to provide additional functionality or configuration to Angular components.
General aptitude test lime math and reasoning
General coding test like angular scss html
I was interviewed before Apr 2022.
Data can be shared between components using @Input, @Output, services, and state management libraries.
Use @Input to pass data from parent to child component
Use @Output to emit events from child to parent component
Use services to create a shared data source accessible by multiple components
Use state management libraries like NgRx or Redux to manage application state
Use route parameters to pass data between components vi
Dependency injection is a design pattern used in Angular to provide dependencies to a component or service.
Dependencies are provided to a component or service through its constructor.
The Angular injector creates an instance of the dependency and passes it to the component or service.
Dependencies can be provided at different levels: module, component, or service.
The @Injectable decorator is used to mark a class as a ser...
What people are saying about TCS
based on 12 interviews
2 Interview rounds
based on 11 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
67k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
AST Consultant
51.3k
salaries
| ₹8 L/yr - ₹25 L/yr |
Assistant System Engineer
29.8k
salaries
| ₹2.2 L/yr - ₹5.7 L/yr |
Associate Consultant
29.1k
salaries
| ₹9 L/yr - ₹32 L/yr |
Amazon
Wipro
Infosys
Accenture