I’m using Power Select within my Own component (say, templates/components/registration-form.hbs) placed in the registration route (say, template/registration.hbs ). Now where to writes the following codes Referred here:
import Ember from 'ember'; export default Ember.Controller.extend({ names: [''], actions: { foo() { } } });
which are supposed to be written in the controller (say, controller/registration.js).