23 lines
420 B
JavaScript
23 lines
420 B
JavaScript
|
'use strict';
|
||
|
angular.module('warehost')
|
||
|
.config(['$stateProvider',function ($stateProvider) {
|
||
|
$stateProvider
|
||
|
.state('app.host', {
|
||
|
url:'/host',
|
||
|
views:{
|
||
|
'menu':{templateUrl:'app/host/menu.html'}
|
||
|
}
|
||
|
})
|
||
|
.state('app.host.index', {
|
||
|
url:'/',
|
||
|
views:{
|
||
|
'@app':{
|
||
|
templateUrl: 'app/home.html',
|
||
|
controller:function(alert){
|
||
|
alert.set({});
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
}]);
|