<commit_before>console.log('Hey there! Thanks for looking into my site, and checking out my console messages.');


var app = angular.module('app', ['ngRoute','angular-carousel']).config(function($routeProvider)	{
		
	$routeProvider.when('/', {
		templateUrl: 'views/home.html',
		controller: 'HomeController'
	});
	$routeProvider.when('/clients', {
		templateUrl: 'views/clients.html',
		controller: 'ClientController'
	});
	$routeProvider.when('/contact', {
		templateUrl: 'views/contact.html',
		controller: 'ContactController'
	});
	$routeProvider.when('/about', {
		templateUrl: 'views/about.html',
		controller: 'AboutController'
	});
	$routeProvider.otherwise({ redirectTo : '/' });
		
});

// controlls the menu
function MenuController($scope, $location) 
{ 
    $scope.isActive = function (viewLocation) { 
        return viewLocation === $location.path();
		console.log('a nav item is now active');
	};
}


app.controller('ClientController', function($scope) {
});

app.controller('ContactController', function($scope) {
});

app.controller('AboutController', function($scope) {
});


app.controller('HomeController', function($scope) {
	// $scope.title = "Home";
// 	$scope.message = "Mouse over the images to see the directives at work";
//
// 	$scope.logout = function() {
// 		AuthenticationService.logout();
// 	};
});



// app.directive('showsMessageWhenHovered', function() {
// 	return {
// 		restrict: 'A',
// 		link: function(scope, element, attributes) {
// 			var originalMessage = scope.message;
// 			element.bind('mouseover', function(){
// 				scope.message = attributes.message;
// 				scope.$apply();
// 			});
// 			element.bind('mouseout', function(){
// 				scope.message = originalMessage;
// 				scope.$apply();
// 			});
// 		}
// 	};
// });<commit_msg>cleaned up app.js<commit_after>console.log('Hey there! Thanks for looking into my site, and checking out my console messages.');


var app = angular.module('app', ['ngRoute','angular-carousel']).config(function($routeProvider)	{
		
	$routeProvider.when('/', {
		templateUrl: 'views/home.html',
		controller: 'HomeController'
	});
	$routeProvider.when('/clients', {
		templateUrl: 'views/clients.html',
		controller: 'ClientController'
	});
	$routeProvider.when('/contact', {
		templateUrl: 'views/contact.html',
		controller: 'ContactController'
	});
	$routeProvider.when('/about', {
		templateUrl: 'views/about.html',
		controller: 'AboutController'
	});
	$routeProvider.otherwise({ redirectTo : '/' });
		
});

// controlls the menu
function MenuController($scope, $location) 
{ 
    $scope.isActive = function (viewLocation) { 
        return viewLocation === $location.path();
		console.log('a nav item is now active');
	};
}

function gaController($scope, $location, $window) {
  $scope.$on('$viewContentLoaded', function(event) {
    $window.ga.push(['_trackPageview', $location.path()]);
  });
}

//unused controllers
app.controller('ClientController', function($scope) {
});
app.controller('ContactController', function($scope) {
});
app.controller('AboutController', function($scope) {
});
app.controller('HomeController', function($scope) {
});

{'fraction_non_alphanumeric': 0.18714194780394652, 'fraction_numerical': 0.0, 'mean_word_length': 4.437716262975779, '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': '2923222', 'n_tokens_mistral': 1027, 'n_tokens_neox': 969, 'n_words': 182}