'use strict';

var cvApp = angular.module('cvApp', ['ngRoute', 'cvAppControllers']);

cvApp.config(['$routeProvider', function($routeProvider) {
	$routeProvider
	.when('/home', {
		templateUrl: 'views/home.html',
		controller: 'HomeController'
	})
	.when('/about', {
		templateUrl: 'views/about.html',
		controller: 'AboutController'
	})
	.otherwise({
		redirectTo: '/home'
	});
}]);
'use strict';

/* App Module */

var cvApp = angular.module('cvApp', ['ngRoute', 'cvAppControllers']);

cvApp.config(['$routeProvider', function($routeProvider) {
	$routeProvider
	.when('/home', {
		templateUrl: 'views/home.html',
		controller: 'HomeController'
	})
	.when('/about', {
		templateUrl: 'views/about.html',
		controller: 'AboutController'
	})
	.otherwise({
		redirectTo: '/home'
	});
}]);
Add boilerplate for app module