-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
34 lines (34 loc) · 1.04 KB
/
Copy pathconfig.js
File metadata and controls
34 lines (34 loc) · 1.04 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
define(function(){
var config = {
router: {
default_path: '/home',
router_maps: [
{
hash: '/home',
templateUrl: 'views/home.html',
dependencies: [
'controllers/HomeController',
'directives/SayHaloDirective',
'services/HomeService',
'filters/BookNameFilter'
]
},
{
hash: '/about',
templateUrl: 'views/about.html',
dependencies: [
'controllers/AboutController'
]
},
{
hash: '/qna',
templateUrl: 'views/qna.html',
dependencies: [
'controllers/QnaController'
]
}
]
}
};
return config;
});