26 lines
564 B
JavaScript
26 lines
564 B
JavaScript
|
'use strict';
|
||
|
angular.module('warehost')
|
||
|
.config(['$stateProvider',function ($stateProvider) {
|
||
|
$stateProvider
|
||
|
.state('app', {
|
||
|
templateUrl: 'app/main.html',
|
||
|
controller: 'MainCtrl'
|
||
|
})
|
||
|
.state('app.index', {
|
||
|
url:'/',
|
||
|
templateUrl: 'app/home.html'
|
||
|
})
|
||
|
.state('app.L', {
|
||
|
templateUrl: 'app/loggedin.html'
|
||
|
})
|
||
|
.state('app.L.settings', {
|
||
|
url:'/settings',
|
||
|
templateUrl: 'app/settings.html',
|
||
|
controller: 'SettingsCtrl'
|
||
|
})
|
||
|
.state('app.L.invites', {
|
||
|
url:'/invites',
|
||
|
templateUrl: 'app/invites.html'
|
||
|
});
|
||
|
}]);
|