blob: 4396d686583fec2fdd419bab1bce841814389266 [file] [log] [blame]
Matteo Scandolofb46ae62017-08-08 09:10:50 -07001
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 Scandolo266907e2016-12-20 13:41:42 -080019// TODO check used deps
20
Matteo Scandoloc8178492017-04-11 17:55:13 -070021import {minimalizaMenu, panelTools, XosNavHandlerService} from './directives/directives';
Matteo Scandolo6b4fd3d2017-01-10 14:48:18 -080022export const xosTemplate = 'xosTemplate';
Matteo Scandolo266907e2016-12-20 13:41:42 -080023
24import 'angular-ui-bootstrap';
25import 'angular-animate';
26import 'angular-toastr';
Matteo Scandolo266907e2016-12-20 13:41:42 -080027import 'angular-toastr/dist/angular-toastr.min.css';
Matteo Scandolo8b2370c2017-02-02 17:19:07 -080028// import '../style/style.scss';
29// import '../style/stroke-icons/style.css';
30// import '../style/pe-icons/pe-icon-7-stroke.css';
Matteo Scandolo5053cbe2017-01-31 17:37:56 -080031import {capitalize} from './filters/capitalize';
Matteo Scandolo266907e2016-12-20 13:41:42 -080032
33
34(function () {
Matteo Scandolo6b4fd3d2017-01-10 14:48:18 -080035 angular.module('xosTemplate', [
Matteo Scandolo266907e2016-12-20 13:41:42 -080036 '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 Scandoloc8178492017-04-11 17:55:13 -070047 .service('XosNavHandler', XosNavHandlerService)
Matteo Scandolo266907e2016-12-20 13:41:42 -080048 .directive('minimalizaMenu', minimalizaMenu)
49 // .directive('sparkline', sparkline)
Matteo Scandolo5053cbe2017-01-31 17:37:56 -080050 .directive('panelTools', panelTools)
51 .filter('capitalize', capitalize);
Matteo Scandolo266907e2016-12-20 13:41:42 -080052})();
53