mponents, helpers, and routes
can use <a href="https://api.emberjs.com/ember/4.2.0/classes/@ember%2Fapplication/methods/getOwner?anchor=getOwner"><code>Ember.getOwner</code></a> to perform lookups through their application
instance at runtime.</p>
<p>For example, this component plays songs with different audio services based
on a song's <code>audioType</code>.</p>
<div class="filename javascript"><div class="ribbon"></div><span>app/components/play-audio.js</span><pre class="language-javascript line-numbers"