Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 1 | // TODO check used deps |
| 2 | |
Matteo Scandolo | c817849 | 2017-04-11 17:55:13 -0700 | [diff] [blame] | 3 | import {minimalizaMenu, panelTools, XosNavHandlerService} from './directives/directives'; |
Matteo Scandolo | 6b4fd3d | 2017-01-10 14:48:18 -0800 | [diff] [blame] | 4 | export const xosTemplate = 'xosTemplate'; |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 5 | |
| 6 | import 'angular-ui-bootstrap'; |
| 7 | import 'angular-animate'; |
| 8 | import 'angular-toastr'; |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 9 | import 'angular-toastr/dist/angular-toastr.min.css'; |
Matteo Scandolo | 8b2370c | 2017-02-02 17:19:07 -0800 | [diff] [blame] | 10 | // import '../style/style.scss'; |
| 11 | // import '../style/stroke-icons/style.css'; |
| 12 | // import '../style/pe-icons/pe-icon-7-stroke.css'; |
Matteo Scandolo | 5053cbe | 2017-01-31 17:37:56 -0800 | [diff] [blame] | 13 | import {capitalize} from './filters/capitalize'; |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 14 | |
| 15 | |
| 16 | (function () { |
Matteo Scandolo | 6b4fd3d | 2017-01-10 14:48:18 -0800 | [diff] [blame] | 17 | angular.module('xosTemplate', [ |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 18 | 'ui.router', // Angular flexible routing |
| 19 | 'ui.bootstrap', // AngularJS native directives for Bootstrap |
| 20 | // 'angular-flot', // Flot chart |
| 21 | // 'datamaps', // Datamaps directive |
| 22 | 'ngAnimate', // Angular animations |
| 23 | 'toastr', // Toastr notification |
| 24 | // 'ui.sortable', // AngularJS ui-sortable |
| 25 | // 'datatables', // Angular datatables plugin |
| 26 | // 'datatables.buttons', // Datatables Buttons |
| 27 | // 'ui.tree' // Angular ui Tree |
| 28 | ]) |
Matteo Scandolo | c817849 | 2017-04-11 17:55:13 -0700 | [diff] [blame] | 29 | .service('XosNavHandler', XosNavHandlerService) |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 30 | .directive('minimalizaMenu', minimalizaMenu) |
| 31 | // .directive('sparkline', sparkline) |
Matteo Scandolo | 5053cbe | 2017-01-31 17:37:56 -0800 | [diff] [blame] | 32 | .directive('panelTools', panelTools) |
| 33 | .filter('capitalize', capitalize); |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 34 | })(); |
| 35 | |