This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
2016-09-03 13:24:54 +02:00
|
|
|
'use strict';
|
|
|
|
angular.module('warehost')
|
|
|
|
.config(['$stateProvider',function ($stateProvider) {
|
|
|
|
$stateProvider
|
|
|
|
.state('app.web', {
|
|
|
|
url:'/web',
|
|
|
|
views:{
|
2016-09-03 16:30:05 +02:00
|
|
|
'menu':{templateUrl:'app/web/menu.html',controller:'MenuWebCtrl'}
|
2016-09-03 13:24:54 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
.state('app.web.index', {
|
|
|
|
url:'/',
|
|
|
|
views:{
|
|
|
|
'@app':{
|
2016-09-03 16:30:05 +02:00
|
|
|
templateUrl: 'app/web/list.html',
|
|
|
|
controller:'ListWebCtrl'
|
2016-09-03 13:24:54 +02:00
|
|
|
}
|
|
|
|
}
|
2016-09-03 16:30:05 +02:00
|
|
|
})
|
|
|
|
.state('app.webS', {
|
|
|
|
url:'/web/:websiteid',
|
|
|
|
views:{
|
|
|
|
'menu':{templateUrl:'app/web/menu.html',controller:'MenuWebCtrl'}
|
|
|
|
}
|
2016-09-03 13:24:54 +02:00
|
|
|
});
|
|
|
|
}]);
|