1
0
Fork 0
traefik/webui/src/app/sections/health/health.module.js
2016-07-27 16:16:02 +02:00

24 lines
No EOL
633 B
JavaScript

'use strict';
var angular = require('angular');
var traefikCoreHealth = require('../../core/health.resource');
var HealthController = require('./health.controller');
var traefikSectionHealth = 'traefik.section.health';
module.exports = traefikSectionHealth;
angular
.module(traefikSectionHealth, [traefikCoreHealth])
.controller('HealthController', HealthController)
.config(config);
/** @ngInject */
function config($stateProvider) {
$stateProvider.state('health', {
url: '/health',
template: require('./health.html'),
controller: 'HealthController',
controllerAs: 'healthCtrl'
});
}