<commit_before>route.controller("CentreController", function($scope, $location, $routeParams, addressStorage, rest, globalMessages, validation, errorRender) {
	
	$scope.centre = {
		formSelector: "#centre-type-form",
		form: {
			hours: [],
		},
		modalId: "centre-modal-form",
		modalSelector: "#centre-modal-form",
		modal: {},
		facility: {
			formSelector: "#facility-form",
			form: {
				hours: [],
			},
			modalId: "facility-modal-form",
			modalSelector: "#facility-modal-form",
			modal: {},
		},
		select: {
			country: [
			         {value: "CZ", name: "Česká republika"},
			         {value: "DE", name: "Německo"},
			         {value: "UK", name: "Velká británie"}
			         ],
			day: [
			      {value: 1, name: "pondělí"},
			      {value: 2, name: "úterý"},
			      {value: 3, name: "středa"},
			      {value: 4, name: "čtvrtek"},
			      {value: 5, name: "pátek"},
			      {value: 6, name: "sobota"},
			      {value: 7, name: "neděle"},
			      ]
		}
	};
	
	/**
	 * Zobrazi detail centra 
	 */
	var showCentre = function(address) {
		rest.get(address, null, function(response) {
			$scope.centre.detail = response.data;
		});
	}
			
	/**
	 * Vraci seznam sportovist
	 */
	var getCentres = function() {
		addressStorage.get("centre", function(address) {
			rest.get(address, null, function(response) {
//				console.log(response.data);	
				$scope.centre.list = response.data;<commit_msg>oprava cislovani dnu<commit_after>route.controller("CentreController", function($scope, $location, $routeParams, addressStorage, rest, globalMessages, validation, errorRender) {
	
	$scope.centre = {
		formSelector: "#centre-type-form",
		form: {
			hours: [],
		},
		modalId: "centre-modal-form",
		modalSelector: "#centre-modal-form",
		modal: {},
		facility: {
			formSelector: "#facility-form",
			form: {
				hours: [],
			},
			modalId: "facility-modal-form",
			modalSelector: "#facility-modal-form",
			modal: {},
		},
		select: {
			country: [
			         {value: "CZ", name: "Česká republika"},
			         {value: "DE", name: "Německo"},
			         {value: "UK", name: "Velká británie"}
			         ],
			day: [
			      {value: 2, name: "pondělí"},
			      {value: 3, name: "úterý"},
			      {value: 4, name: "středa"},
			      {value: 5, name: "čtvrtek"},
			      {value: 6, name: "pátek"},
			      {value: 7, name: "sobota"},
			      {value: 1, name: "neděle"},
			      ]
		}
	};
	
	/**
	 * Zobrazi detail centra 
	 */
	var showCentre = function(address) {
		rest.get(address, null, function(response) {
			$scope.centre.detail = response.data;
		});
	}
			
	/**
	 * Vraci seznam sportovist
	 */
	var getCentres = function() {
		addressStorage.get("centre", function(address) {
			rest.get(address, null, function(response) {
//				console.log(response.data);	
				$scope.centre.list = response.data;
{'fraction_non_alphanumeric': 0.17918871252204585, 'fraction_numerical': 0.0049382716049382715, 'mean_word_length': 2.7071895424836603, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7393199', 'n_tokens_mistral': 1203, 'n_tokens_neox': 1007, 'n_words': 199}