Loading external JS assets in the application

Hello everyone

I’ve been using the vendor/vendor-load.js file to load local external dependencies but what about external ones?

I need to inject the Wistia JS file than one way that works is adding the file in application controller, something like:

export default Ember.Controller.extend({
  init() {
    Ember.$.getScript('//fast.wistia.com/assets/external/E-v1.js')
  }
}

Is there an Ember way for this or this is how do you usually do?

You should be using ember-wistia - npm