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: 	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.seasons = [2012, 2013, 2014];	
  	$scope.attendancesConn = "none";
  	$scope.fcNames = JSON.parse('${fcNames}');
  	$scope.attendances = {};
  	
  	angular.element(document).ready(function() {
  		$scope.season = 2012;
  		$scope.leagueData = $scope.leagues[$scope.season][0];
  		
  		/*
  		var league = "${league}";
  
negative.code: 				<span class="color-blue"><spring:message code="stats.msg.choose.season"/></span>
  			</div>				
  			<div class="col-xs-8 col-sm-4 col-md-3">	
  				<select class="form-control" ng-model="leagueId" ng-change="changeLeague()"
  				ng-options='key as value.name disable when value.disable for (key, value) in leagues[season]'>
  				<!-- 
  				ng-options='league.name disable when league.disable for league in leagues[season]'>
  				 -->
  					<option value=""><spring:message code="stats.select.league"/></option>
  				</select>
  				<span class="color-blue"><spring:message code="stats.msg.choose.league"/></span>
  