Is a factory a singleton? If it is, what is the difference between a factory and a service? When should each be used?
Asked
Active
Viewed 2,393 times
1 Answers
2
Yes mate, factories and a services are both Singletons.
Generally it's preference which to use, but generally the community more leans toward factories because they are easier to invoke.
this question is a duplicate of this:
service-vs-provider-vs-factory
Also this is a really good styling with a lot of helpful information:
I hope that helps

Community
- 1
- 1

Darren Lilley
- 404
- 5
- 9