sum7/warehost-frontend
sum7
/
warehost-frontend
Archived
1
0
Fork 0
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.
warehost-frontend/public/app/web/index.js

27 lines
558 B
JavaScript
Raw Normal View History

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
});
}]);