export default class SidebarController {
  constructor(AccountsRepository, MovementsRepository) {
    this.accounts = AccountsRepository;
    this.movements = MovementsRepository;
  }
}
SidebarController.$inject = ['AccountsRepository', 'MovementsRepository'];

class SidebarController {
  constructor(AccountsRepository, MovementsRepository) {
    this.accounts = AccountsRepository;
    this.movements = MovementsRepository;
  }
}
SidebarController.$inject = ['AccountsRepository', 'MovementsRepository'];

export default SidebarController;

Upgrade SidebarController to ES6 syntax
Upgrade SidebarController to ES6 syntax
