class <%= upCaseName %>Controller {
  constructor () {
    this.name = '<%= name %>';
  }
}

export default <%= upCaseName %>Controller;

class <%= upCaseName %>Controller {
  constructor() {
    this.name = '<%= name %>';
  }
}

export default <%= upCaseName %>Controller;

Update temp.controller.js