Matteo Scandolo | 46b5610 | 2015-12-16 14:23:08 -0800 | [diff] [blame] | 1 | 'use strict'; |
| 2 | |
| 3 | angular.module('autoscaling', [ |
| 4 | 'ngLodash', |
| 5 | 'ui.router', |
| 6 | 'ngAnimate', |
| 7 | 'chart.js' |
| 8 | ]) |
Matteo Scandolo | 46b5610 | 2015-12-16 14:23:08 -0800 | [diff] [blame] | 9 | .config(($stateProvider, $urlRouterProvider) => { |
| 10 | $stateProvider |
| 11 | .state('ceilometerDashboard', { |
| 12 | url: '/', |
| 13 | template: '<service-container></service-container>' |
| 14 | }); |
Matteo Scandolo | 8942e04 | 2015-12-16 14:41:21 -0800 | [diff] [blame] | 15 | |
Matteo Scandolo | 46b5610 | 2015-12-16 14:23:08 -0800 | [diff] [blame] | 16 | $urlRouterProvider.otherwise('/'); |
| 17 | }); |