title: emberjs how to add external js files
body: <p>I am novice to ember.js, This is how I have included my external java script file to ember project to call to jquery plugin in imagerotator.js</p>
  
  <pre><code>&lt;script src="{{rootURL}}assets/imagerotator/html/js/imagerotator.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>when I am calling it from the document.ready() function it getting initialized properly.</p>
  
  <p>But I need that plugin should be only in only one hadlerbar(.hbs) file.
  Am I doing it correctly ?</p>
  
  <p>I heard there is a "didInsertElement" function in components file and define there but in my case I don't have component just have template file only. </p>
  
  <p>I am novice to emberjs and sorry for my poor English.</p>