<commit_before>angular.module('app.controllers')

.controller('optionsCtrl', function($scope, $location, OptionsService) {

	$scope.options = function(selectedOption){
		OptionsService.set(selectedOption);
		
		console.log('select option: ' + OptionsService.get());

		$location.url('/dishes');
	}

})
<commit_msg>Fix navigation was wrong when sharing equally<commit_after>angular.module('app.controllers')

.controller('optionsCtrl', function($scope, $location, OptionsService) {

	$scope.options = function(selectedOption){
		OptionsService.set(selectedOption);

		console.log('select option: ' + OptionsService.get());
	}

})

{'fraction_non_alphanumeric': 0.15580286168521462, 'fraction_numerical': 0.0, 'mean_word_length': 6.590361445783133, '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': '3092261', 'n_tokens_mistral': 191, 'n_tokens_neox': 178, 'n_words': 29}