eyword">export</span> <span class="token keyword">default</span> <span class="token keyword">class</span> <span class="token class-name">CartContentsComponent</span> <span class="token keyword">extends</span> <span class="token class-name">Component</span> <span class="token punctuation">{</span>
  @<span class="token function">service</span><span class="token punctuation">(</span><span class="token string">'shopping-cart'</span><span class="token punctuation">)</span> cart<span class="token punctuation">;<