anchor.diff:  		attendances.forEach(function(attendance) {
   			//console.log(attendance);
   			
  -			if ($scope.leagueData.id == KLId || $scope.leagueData.id == attendance.league) {
  +			if ($scope.leagueId == KLId || $scope.leagueId == attendance.league) {
   				var itemTotal = [$scope.fcNames[attendance.club.id], attendance.total];
   				var itemAverage = [$scope.fcNames[attendance.club.id], attendance.average];
   				
  
positive.code: 	};	
  	
  	$scope.changeLeague = function() {
  		
  		if ($scope.leagueData != null) {
  			console.log($scope.leagueData);		
  			$scope.refreshData();
  		}
  
  		/*
  
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>
  