class ScoreController {
  constructor(SocketService, GameService,) {
    'ngInject';
  }
}

export default ScoreController;

class ScoreController {
  constructor(SocketService, GameService) {
    'ngInject';
  }
}

export default ScoreController;

Fix syntax error