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-08-14 13:37:26 +02:00
|
|
|
'use strict';
|
|
|
|
angular.module('warehost')
|
|
|
|
.config(['$stateProvider',function ($stateProvider) {
|
|
|
|
$stateProvider
|
|
|
|
.state('app', {
|
|
|
|
templateUrl: 'app/main.html',
|
|
|
|
controller: 'MainCtrl'
|
|
|
|
})
|
|
|
|
.state('app.index', {
|
|
|
|
url:'/',
|
2016-08-17 22:35:25 +02:00
|
|
|
templateUrl: 'app/home.html',
|
|
|
|
controller:function(alert){
|
|
|
|
alert.set({});
|
|
|
|
}
|
2016-08-14 13:37:26 +02:00
|
|
|
})
|
|
|
|
.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',
|
2016-08-20 01:17:28 +02:00
|
|
|
templateUrl: 'app/invites.html',
|
|
|
|
controller: 'InvitesCtrl'
|
2016-08-14 13:37:26 +02:00
|
|
|
});
|
|
|
|
}]);
|