-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.js
80 lines (79 loc) · 2.33 KB
/
app.js
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
angular.module('add', ['ui.router'])
.controller('MainCtrl', function ($scope) {
$scope.name = 'World';
})
.config(function ($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise("/home");
$stateProvider
.state('home', {
url: "/home",
views:{
content:{
templateUrl: "partials/home.html"
},
partners:{
templateUrl: 'partials/2015-coderetreat-partners.html'
}
}
})
.state('coderetreat', {
url: "/coderetreat",
views:{
content:{
templateUrl: "partials/coderetreat.html"
}
}
})
.state('2011', {
url: "/2011",
views:{
content:{
templateUrl: "partials/2011.html"
}
}
})
.state('2012', {
url: "/2012",
views:{
content:{
templateUrl: "partials/2012.html"
}
}
})
.state('2013', {
url: "/2013",
views:{
content:{
templateUrl: "partials/2013.html"
}
}
})
.state('2014', {
url: "/2014",
views:{
content:{
templateUrl: "partials/2014.html"
}
}
})
.state('2014coderetreat', {
url: "/2014coderetreat",
views:{
content:{
templateUrl: "partials/2014coderetreat.html"
}
}
})
.state('2015', {
url: "/2015",
views:{
content:{
templateUrl: "partials/2015.html"
},
partners:{
templateUrl: 'partials/2015-partners.html'
}
}
})
;
});