Comment

Comment by chao-

I enjoy quite a few parts of Angular, but its choice of naming between Factories & Services is maddening. The fact that Factories are not Factories-as-seen-in-any-other-context made me sad. Unless I am mistaken, from what I have seen:

Angular Factories are Singletons (you always get the same object).

Angular Services are Factories (you can get many independent instances of an object from them).

parent chao- 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton