elopers are free to define their own services by registering the service&#39;s name and
<strong>service factory function</strong>, with an Angular module.</p>
<p>The <strong>service factory function</strong> generates the single object or function that represents the
service to the rest of the application. The object or function returned by the service is
injected into any component (controller, service, filter or directive) that specifies a dependency
on the service.</p>
<h3 id="registering-services">Regis