<commit_before>myApp.controller("myCtrl", ['$scope', "$http", "$location", "RestService", function($scope, $http, $location, RestService) {
	$scope.allContactsFn = function() {
		// $http({
		// 	method: "get",
		// 	url: "resources/json/contactsData.json",
		// }).success(function(data) {
		// 	$scope.contacts = data.contacts;
		// });
		RestService.getContacts().then(function(data) {
			$scope.contacts = data.contacts;	
		}, function(error) {
			//error callback
		});
	};
	$scope.gotoPage = function(pagePath) {
		$location.path(pagePath);<commit_msg>commit one<commit_after>myApp.controller("myCtrl", ['$scope', "$http", "$location", "RestService", function($scope, $http, $location, RestService) {
	$scope.allContactsFn = function() {
		RestService.getContacts().then(function(data) {
			$scope.contacts = data.contacts;	
		}, function(error) {
			//error callback
		});
	};
	$scope.gotoPage = function(pagePath) {
		$location.path(pagePath);
{'fraction_non_alphanumeric': 0.20084121976866456, 'fraction_numerical': 0.0, 'mean_word_length': 4.666666666666667, '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': '6783151', 'n_tokens_mistral': 349, 'n_tokens_neox': 326, 'n_words': 48}