O'Reilly logo
  • shashank reddy thinks this is interesting:

AngularJS guarantees that the function we provide to the service declaration will be executed only once (lazily, the first time something that needs the dependency is loaded), and future dependents will get that very same instance. That is, AngularJS services are singletons for the scope of our application


Cover of AngularJS: Up and Running


singletons services