1" id=C1_L1></a></span></code></pre>
<p>Services must extend the <code>Ember.Service</code> base class:</p>
<div class="filename javascript"><div class="ribbon"></div><span>app/services/shopping-cart.js</span><pre class="language-javascript line-numbers"><code class="javascript language-javascript"><span class="token keyword">export</span> <span class="token keyword">default</span> Ember<span class="token punctuation">.</span>Service<span class="token punctuation">.</span><span class="token function">extend