Matteo Scandolo | f6acdbe | 2016-12-13 10:29:37 -0800 | [diff] [blame] | 1 | import {xosHeader} from './header/header'; |
| 2 | import {xosFooter} from './footer/footer'; |
| 3 | import {xosNav} from './nav/nav'; |
| 4 | import routesConfig from './routes'; |
| 5 | import {xosLogin} from './login/login'; |
Matteo Scandolo | 9f87f30 | 2016-12-13 18:11:10 -0800 | [diff] [blame] | 6 | import {xosTable} from './table/table'; |
Matteo Scandolo | f2c3ed6 | 2016-12-15 14:32:50 -0800 | [diff] [blame] | 7 | import {RuntimeStates} from './services/runtime-states'; |
| 8 | import {NavigationService} from './services/navigation'; |
Matteo Scandolo | 5655bdc | 2016-12-16 08:32:15 -0800 | [diff] [blame] | 9 | import {PageTitle} from './services/page-title'; |
Matteo Scandolo | d58d504 | 2016-12-16 16:59:21 -0800 | [diff] [blame] | 10 | import {ConfigHelpers} from './services/helpers/config.helpers'; |
Matteo Scandolo | ee655a1 | 2016-12-19 15:38:43 -0800 | [diff] [blame] | 11 | import {xosLinkWrapper} from './link-wrapper/link-wrapper'; |
| 12 | import {XosFormHelpers} from './form/form-helpers'; |
| 13 | import {xosForm} from './form/form'; |
| 14 | import {xosField} from './field/field'; |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 15 | import 'angular-toastr'; |
Matteo Scandolo | f6acdbe | 2016-12-13 10:29:37 -0800 | [diff] [blame] | 16 | |
| 17 | export const xosCore = 'xosCore'; |
| 18 | |
| 19 | angular |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 20 | .module('xosCore', ['ui.router', 'toastr']) |
Matteo Scandolo | f6acdbe | 2016-12-13 10:29:37 -0800 | [diff] [blame] | 21 | .config(routesConfig) |
Matteo Scandolo | f2c3ed6 | 2016-12-15 14:32:50 -0800 | [diff] [blame] | 22 | .provider('RuntimeStates', RuntimeStates) |
| 23 | .service('NavigationService', NavigationService) |
Matteo Scandolo | 5655bdc | 2016-12-16 08:32:15 -0800 | [diff] [blame] | 24 | .service('PageTitle', PageTitle) |
Matteo Scandolo | ee655a1 | 2016-12-19 15:38:43 -0800 | [diff] [blame] | 25 | .service('XosFormHelpers', XosFormHelpers) |
Matteo Scandolo | d58d504 | 2016-12-16 16:59:21 -0800 | [diff] [blame] | 26 | .service('ConfigHelpers', ConfigHelpers) |
Matteo Scandolo | ee655a1 | 2016-12-19 15:38:43 -0800 | [diff] [blame] | 27 | .directive('xosLinkWrapper', xosLinkWrapper) |
Matteo Scandolo | f6acdbe | 2016-12-13 10:29:37 -0800 | [diff] [blame] | 28 | .component('xosHeader', xosHeader) |
| 29 | .component('xosFooter', xosFooter) |
| 30 | .component('xosNav', xosNav) |
Matteo Scandolo | 9f87f30 | 2016-12-13 18:11:10 -0800 | [diff] [blame] | 31 | .component('xosLogin', xosLogin) |
Matteo Scandolo | ee655a1 | 2016-12-19 15:38:43 -0800 | [diff] [blame] | 32 | .component('xosTable', xosTable) |
| 33 | .component('xosForm', xosForm) |
| 34 | .component('xosField', xosField); |