class MCExperimentComponentController {
    /*@ngInject*/
    constructor(mcstate) {
        this.experiment = mcstate.get(mcstate.CURRENT$EXPERIMENT);
    }
}

angular.module('materialscommons').component('mcExperiment', {
    templateUrl: 'app/project/experiments/experiment/mc-experiment.html',
    controller: MCExperimentComponentController
});
class MCExperimentComponentController {
    /*@ngInject*/
    constructor(mcprojstore, $stateParams) {
        this.experiment = mcprojstore.getExperiment($stateParams.experiment_id);
    }
}

angular.module('materialscommons').component('mcExperiment', {
    templateUrl: 'app/project/experiments/experiment/mc-experiment.html',
    controller: MCExperimentComponentController
});
Use mcprojstore rather than mcstate to get the current experiment
Use mcprojstore rather than mcstate to get the current experiment
