-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathangular.js
More file actions
36 lines (32 loc) · 1.2 KB
/
angular.js
File metadata and controls
36 lines (32 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
var ashrae = angular.module('ashrae', ['ngRoute']);
ashrae.config(function ($routeProvider) {
$routeProvider
.when('/', {
templateUrl: 'templates/home.html',
// controller: 'mainController'
})
.when('/contact', {
templateUrl: 'templates/contact.html',
// controller: 'genericController'
})
.when('/about',{
templateUrl: 'templates/about.html',
// controller: 'aboutController'
})
.when('/calender',{
templateUrl: 'templates/events.html',
// controller: 'eventsController'
})
.when('/team',{
templateUrl: 'templates/team.html',
// controller: 'teamController'
})
.when('/membership',{
templateUrl: 'templates/membership.html',
// controller: 'membershipController'
})
// .when('/elements', {
// templateUrl: 'elements.html',
// controller: 'elementController'
// })
});