Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
weavie
on April 23, 2014
|
parent
|
context
|
favorite
| on:
You have ruined JavaScript
Factories are singletons. Services are not. Providers let you configure stuff before they are invoked.
camus2
on April 23, 2014
[–]
are you sure? i thought the 3 apis provider/factory/service return only one instance per application.
weavie
on April 23, 2014
|
parent
[–]
Darn it, you are right. Not sure how I'd come to that conclusion. Thanks for putting me straight.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: