QueryBuilderController = function(
    $scope, fetcherService, lovefieldService) {
  this.scope_ = $scope;
  this.lovefieldService_ = lovefieldService;

  this.dropDownList = [];

  this.searchModes = [
    'Stocks',
    'Sectors'
  ];

  this.timeWindows = [
    '5 days',
    '1 month',
    '3 months',
    '6 months',
    'YTD',
    '1 year'
  ];

  fetcherService.init().then(function() {
    this.lovefieldService_.getStockList().then(
        this.populateUi_.bind(this));
  }.bind(this));
}
@param {!angular.Scope} $scope
@param {!FetcherService} fetcherService
@param {!LovefieldService} lovefieldService
@constructor