anchor.diff:  	};	
   	
   	$scope.changeLeague = function() {
  -		
  -		if ($scope.leagueData != null) {
  -			console.log($scope.leagueData);		
  +		console.log('changeLeague' + $scope.rememberLeague);		
  +		
  +		if ($scope.leagueId != null) {
  +			console.log($scope.leagueId);		
   			$scope.refreshData();
  +		} else {
  +			if ($scope.rememberLeague != null) {
  +				$scope.leagueId = $scope.rememberLeague;
  +				//console.log($scope.leagueId);
  +				$scope.rememberLeague = null;
  +			}
   		}
   
   		/*
  
positive.code: 	};
  	
  	$scope.refreshData = function() {
  		if (isEmpty($scope.leagueData)) return;
  		
  		$scope.chartConfig.series.forEach(function(series) {
  			series.data = [];
  
negative.code: 	var KLCLname = '<spring:message code="stats.attendance.filter.league.classic"/>';
  	var KLCHname = '<spring:message code="stats.attendance.filter.league.challenge"/>';	
  	
  	/*
  	$scope.leagues = {
  			2012 : [{id : KLId, name : KLname}, {id : KLCLId, name : KLCLname, disable : true}, {id : KLCHId, name : KLCHname, disable : true}],
  			2013 : [{id : KLId, name : KLname}, {id : KLCLId, name : KLCLname}, {id : KLCHId, name : KLCHname}],
  			2014 : [{id : KLId, name : KLname}, {id : KLCLId, name : KLCLname}, {id : KLCHId, name : KLCHname}]
  	};
  	*/
  	
  	$scope.leagues = {
  			2012 : {'KL' : {name : KLname}, 'KLCL' : {name : KLCLname, disable : true}, 'KLCH' : {name : KLCHname, disable : true}},
  			2013 : {'KL' : {name : KLname}, 'KLCL' : {name : KLCLname}, 'KLCH' : {name : KLCHname}},
  			2014 : {'KL' : {name : KLname}, 'KLCL' : {name : KLCLname}, 'KLCH' : {name : KLCHname}}
  	};	
  	$scope.seasons = [2012, 2013, 2014];
  	
  	$scope.attendancesConn = "none";
  	$scope.fcNames = JSON.parse('${fcNames}');
  	$scope.attendances = {};
  	$scope.rememberLeague = null;
  	
  	angular.element(document).ready(function() {
  		$scope.season = 2012;
  		$scope.leagueId = KLId;
  		
  		/*
  		var league = "${league}";
  