You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

13 lines
671 B
CoffeeScript

angular
.module( 'myApp', ['myApp.filters', 'myApp.services', 'myApp.directives', 'ui', 'ui.directives'])
.config( ['$routeProvider', ($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: projectsCtrl})
$routeProvider.when('/blog', {redirectTo: '/blog'})
$routeProvider.when('/contact', {templateUrl: 'partials/contact.html', controller: MyCtrl2})
$routeProvider.otherwise({redirectTo: '/'})
])