2015-10-05 14:11:43 +00:00
|
|
|
(function () {
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
angular
|
|
|
|
.module('traefik.section.providers.backend-monitor')
|
|
|
|
.directive('backendMonitor', function () {
|
|
|
|
return {
|
|
|
|
restrict: 'EA',
|
|
|
|
templateUrl: 'app/sections/providers/backend-monitor/backend-monitor.html',
|
|
|
|
controller: 'BackendMonitorController',
|
|
|
|
controllerAs: 'backendCtrl',
|
|
|
|
bindToController: true,
|
|
|
|
scope: {
|
|
|
|
backend: '=',
|
2015-10-06 22:01:24 +00:00
|
|
|
backendId: '='
|
2015-10-05 14:11:43 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
})();
|