blob: 2a9603c3de64a9182e3b7fee4db827cd901e3345 [file] [log] [blame]
Matteo Scandolof6acdbe2016-12-13 10:29:37 -08001import {xosHeader} from './header/header';
2import {xosFooter} from './footer/footer';
3import {xosNav} from './nav/nav';
4import routesConfig from './routes';
5import {xosLogin} from './login/login';
Matteo Scandolo9f87f302016-12-13 18:11:10 -08006import {xosTable} from './table/table';
Matteo Scandolof2c3ed62016-12-15 14:32:50 -08007import {RuntimeStates} from './services/runtime-states';
8import {NavigationService} from './services/navigation';
Matteo Scandolo5655bdc2016-12-16 08:32:15 -08009import {PageTitle} from './services/page-title';
Matteo Scandolod58d5042016-12-16 16:59:21 -080010import {ConfigHelpers} from './services/helpers/config.helpers';
Matteo Scandolof6acdbe2016-12-13 10:29:37 -080011
12export const xosCore = 'xosCore';
13
14angular
15 .module('xosCore', ['ui.router'])
16 .config(routesConfig)
Matteo Scandolof2c3ed62016-12-15 14:32:50 -080017 .provider('RuntimeStates', RuntimeStates)
18 .service('NavigationService', NavigationService)
Matteo Scandolo5655bdc2016-12-16 08:32:15 -080019 .service('PageTitle', PageTitle)
Matteo Scandolod58d5042016-12-16 16:59:21 -080020 .service('ConfigHelpers', ConfigHelpers)
Matteo Scandolof6acdbe2016-12-13 10:29:37 -080021 .component('xosHeader', xosHeader)
22 .component('xosFooter', xosFooter)
23 .component('xosNav', xosNav)
Matteo Scandolo9f87f302016-12-13 18:11:10 -080024 .component('xosLogin', xosLogin)
25 .component('xosTable', xosTable);