What is the use of factory method in Angularjs?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
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
评论(499)
Helpful(122)
Helpful
Helpful(2)

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