| import {xosHeader} from './header/header'; |
| import {xosFooter} from './footer/footer'; |
| import {xosNav} from './nav/nav'; |
| import routesConfig from './routes'; |
| import {xosLogin} from './login/login'; |
| import {xosTable} from './table/table'; |
| import {RuntimeStates} from './services/runtime-states'; |
| import {NavigationService} from './services/navigation'; |
| import {PageTitle} from './services/page-title'; |
| import {ConfigHelpers} from './services/helpers/config.helpers'; |
| import {xosLinkWrapper} from './link-wrapper/link-wrapper'; |
| import {XosFormHelpers} from './form/form-helpers'; |
| import {xosForm} from './form/form'; |
| import {xosField} from './field/field'; |
| import 'angular-toastr'; |
| import {xosAlert} from './alert/alert'; |
| import {xosValidation} from './validation/validation'; |
| import {ModelSetup} from './services/helpers/model-setup.helpers'; |
| |
| export const xosCore = 'xosCore'; |
| |
| angular |
| .module('xosCore', [ |
| 'ui.router', |
| 'toastr', |
| 'ui.bootstrap.typeahead' |
| ]) |
| .config(routesConfig) |
| .provider('RuntimeStates', RuntimeStates) |
| .service('NavigationService', NavigationService) |
| .service('PageTitle', PageTitle) |
| .service('XosFormHelpers', XosFormHelpers) |
| .service('ConfigHelpers', ConfigHelpers) |
| .service('ModelSetup', ModelSetup) |
| .directive('xosLinkWrapper', xosLinkWrapper) |
| .component('xosHeader', xosHeader) |
| .component('xosFooter', xosFooter) |
| .component('xosNav', xosNav) |
| .component('xosLogin', xosLogin) |
| .component('xosTable', xosTable) |
| .component('xosForm', xosForm) |
| .component('xosField', xosField) |
| .component('xosAlert', xosAlert) |
| .component('xosValidation', xosValidation); |