This repository has been archived on 2020-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
sp4ke.github.com/app/js/app.js
2013-03-01 18:37:49 +01:00

33 lines
903 B
JavaScript

// Generated by CoffeeScript 1.4.0
(function() {
angular.module('myApp', ['myApp.filters', 'myApp.services', 'myApp.directives']).config([
'$routeProvider', function($routeProvider) {
$routeProvider.when('/', {
templateUrl: 'partials/home.html',
controller: MyCtrl1
});
$routeProvider.when('/freelance', {
templateUrl: 'partials/freelance.html',
controller: MyCtrl1
});
$routeProvider.when('/projects', {
templateUrl: 'partials/projects.html',
controller: MyCtrl2
});
$routeProvider.when('/blog', {
templateUrl: 'partials/blog.html',
controller: MyCtrl2
});
$routeProvider.when('/contact', {
templateUrl: 'partials/contact.html',
controller: MyCtrl2
});
return $routeProvider.otherwise({
redirectTo: '/'
});
}
]);
}).call(this);