blob: 665aafeabb0c900dc4159e263786f1b605afe18c [file] [log] [blame]
'use strict';
angular.module('autoscaling', [
'ngLodash',
'ui.router',
'ngAnimate',
'chart.js'
])
.run((Autoscaling) => {
// start polling data
Autoscaling.getAutoscalingData();
})
.config(($stateProvider, $urlRouterProvider) => {
$stateProvider
.state('ceilometerDashboard', {
url: '/',
template: '<service-container></service-container>'
});
$urlRouterProvider.otherwise('/');
});