Matteo Scandolo | fb46ae6 | 2017-08-08 09:10:50 -0700 | [diff] [blame] | 1 | |
| 2 | /* |
| 3 | * Copyright 2017-present Open Networking Foundation |
| 4 | |
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | * you may not use this file except in compliance with the License. |
| 7 | * You may obtain a copy of the License at |
| 8 | |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | * Unless required by applicable law or agreed to in writing, software |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | * See the License for the specific language governing permissions and |
| 15 | * limitations under the License. |
| 16 | */ |
| 17 | |
| 18 | |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 19 | // TODO check used deps |
| 20 | |
Matteo Scandolo | c817849 | 2017-04-11 17:55:13 -0700 | [diff] [blame] | 21 | import {minimalizaMenu, panelTools, XosNavHandlerService} from './directives/directives'; |
Matteo Scandolo | 6b4fd3d | 2017-01-10 14:48:18 -0800 | [diff] [blame] | 22 | export const xosTemplate = 'xosTemplate'; |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 23 | |
| 24 | import 'angular-ui-bootstrap'; |
| 25 | import 'angular-animate'; |
| 26 | import 'angular-toastr'; |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 27 | import 'angular-toastr/dist/angular-toastr.min.css'; |
Matteo Scandolo | 8b2370c | 2017-02-02 17:19:07 -0800 | [diff] [blame] | 28 | // import '../style/style.scss'; |
| 29 | // import '../style/stroke-icons/style.css'; |
| 30 | // import '../style/pe-icons/pe-icon-7-stroke.css'; |
Matteo Scandolo | 5053cbe | 2017-01-31 17:37:56 -0800 | [diff] [blame] | 31 | import {capitalize} from './filters/capitalize'; |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 32 | |
| 33 | |
| 34 | (function () { |
Matteo Scandolo | 6b4fd3d | 2017-01-10 14:48:18 -0800 | [diff] [blame] | 35 | angular.module('xosTemplate', [ |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 36 | 'ui.router', // Angular flexible routing |
| 37 | 'ui.bootstrap', // AngularJS native directives for Bootstrap |
| 38 | // 'angular-flot', // Flot chart |
| 39 | // 'datamaps', // Datamaps directive |
| 40 | 'ngAnimate', // Angular animations |
| 41 | 'toastr', // Toastr notification |
| 42 | // 'ui.sortable', // AngularJS ui-sortable |
| 43 | // 'datatables', // Angular datatables plugin |
| 44 | // 'datatables.buttons', // Datatables Buttons |
| 45 | // 'ui.tree' // Angular ui Tree |
| 46 | ]) |
Matteo Scandolo | c817849 | 2017-04-11 17:55:13 -0700 | [diff] [blame] | 47 | .service('XosNavHandler', XosNavHandlerService) |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 48 | .directive('minimalizaMenu', minimalizaMenu) |
| 49 | // .directive('sparkline', sparkline) |
Matteo Scandolo | 5053cbe | 2017-01-31 17:37:56 -0800 | [diff] [blame] | 50 | .directive('panelTools', panelTools) |
| 51 | .filter('capitalize', capitalize); |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 52 | })(); |
| 53 | |