Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Factories are singletons. Services are not. Providers let you configure stuff before they are invoked.


are you sure? i thought the 3 apis provider/factory/service return only one instance per application.


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: