const BASEBALL = new WeakMap();

class BaseballController {
    constructor(BaseballDataFactory){
        console.info(BaseballDataFactory);
        BASEBALL.set(this, BaseballDataFactory);
        this.hello = "Welcome to the BaseBall Workbench where all your primal needs will be satisfied";
        this.selectedDataSet = undefined;
        BaseballDataFactory.getTables().success((resp) => {
            this.dataSets = resp;
        })

    }

    playBall(){
        return "PLAY BALL!";
    }

    getListOfDataSets(){

    }

    getCurrentSelectedDataSet(){
    	if (this.selectedDataSet == undefined)
    		return "Nothing is selected yet";
       	return this.selectedDataSet;
    }

    // Return the set of datasets 
    // Expecting a return of an array 
    // Empty array will indicate that nothing is found
    getDataSets() {
    }

    getFormula(){
        if(this.formula == undefined)
        {
           return "Please enter in a formula.";
        }
        else
        {
            return this.formula;
        }
    }
}

BaseballController.$inject = ['BaseballDataFactory'];

export default BaseballController;
@@ -820,34 +820,8 @@
 ound
-%0A    getDataSets() %7B%0A    %7D
 %0A%0A  

remove not needed method