r/angularjs • u/RevillWeb • Sep 15 '15
Mastering AngularJS Services Part 1 - Factories vs Services
http://hashtagcoder.com/mastering-angularjs-services-part-1-factories-vs-services/
44
Upvotes
1
u/ADHDengineer Sep 16 '15
Brilliant. When I was first learning angular nobody could cleanly explain how to use a service vs. a factory. There was lots of bad information but this article is spot on.
1
u/puppium Sep 16 '15
nice article. i barely know angularjs (learning it) but this pattern applies to (most?) mvc frameworks which makes the article useful regardless. you can easily apply this to something like symfony (just uses a slightly different vocabulary).
1
u/jstnjns Sep 15 '15
Easy to digest, but has some great examples for someone like myself that is still relatively new to structuring applications