employer cover photo
employer logo
employer logo

Uneecops Technologies

Is this your company?

Uneecops Technologies interview question

Could you explain services in Angular?

Interview Answer

Anonymous

Nov 21, 2020

Singleton objects in Angular that get instantiated only once during the lifetime of an application are called services. An Angular service contains methods that maintain the data throughout the life of an application. The primary intent of an Angular service is to organize as well as share business logic, models, or data and functions with various components of an Angular application. The functions offered by an Angular service can be invoked from any Angular component, such as a controller or directive.