re>
<p>Note that you are not registering a <strong>service instance</strong>, but rather a <strong>factory function</strong> that
will create this instance when called.</p>
<h3 id="dependencies">Dependencies</h3>
<p>Services can have their own dependencies. Just like declaring dependencies in a controller, you
declare dependencies by specifying them in the service&#39;s factory function signature.</p>
<p>For more on dependencies, see the <a href="guide/di">dependency injection</a> docs.</p>
<p>The example m