title: AngularJS - Initialize service without calling it
body: <p>In my <code>AngularJS</code> application I want to initialize a factory service, without calling it from a controller or other service. How can this be done?</p>
  
  <p>The reason is that I want the service to call one of its functions when the application loads.</p>