What is a factory in angular?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at the United Nations Office on Drugs and Crime, Lives in Vienna, Austria.
In AngularJS, services are reusable singleton objects that are used to organize and share code across your app. They can be injected into controllers, filters, directives. AngularJS provides you three ways : service, factory and provider to create a service.
2023-05-06 04:44:20
评论(499)
Helpful(122)
Helpful
Helpful(2)

Liam Turner
QuesHub.com delivers expert answers and knowledge to you.
In AngularJS, services are reusable singleton objects that are used to organize and share code across your app. They can be injected into controllers, filters, directives. AngularJS provides you three ways : service, factory and provider to create a service.