title: Global function in ember.js
body: <p>I want to use a global function in different controllers, components, etc.</p>
  
  <pre><code>function myFunction(param){
      ...
      return result;
  }
  </code></pre>
  
  <p>Is a global js function the best way to do it in Ember?</p>