What is the use of factory method in Angularjs?

Amelia Baker | 2023-06-11 19:40:32 | page views:1656
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Zoe Lee

Studied at the University of Cape Town, Lives in Cape Town, South Africa.
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.Sep 9, 2014
2023-06-19 19:40:32

Julian Butler

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.Sep 9, 2014
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4