0

I am new to AngularJS. I have seen many snippets on factory, service and providers. But I don't understand the exact usage of them. Please let me know the appropriate use of them. In which case should I use factory and when not to use?

1 Answers1

0

You can read in

AngularJS: Service vs provider vs factory and

https://github.com/johnpapa/angular-styleguide/tree/master/a1#factories

Hope it help !

Community
  • 1
  • 1
Akashii
  • 2,001
  • 2
  • 12
  • 23