22 lines
521 B
JavaScript
22 lines
521 B
JavaScript
|
(function () {
|
||
|
'use strict';
|
||
|
|
||
|
angular
|
||
|
.module('traefik.section.providers.frontend-monitor')
|
||
|
.directive('frontendMonitor', function () {
|
||
|
return {
|
||
|
restrict: 'EA',
|
||
|
templateUrl: 'app/sections/providers/frontend-monitor/frontend-monitor.html',
|
||
|
controller: 'FrontendMonitorController',
|
||
|
controllerAs: 'frontendCtrl',
|
||
|
bindToController: true,
|
||
|
scope: {
|
||
|
frontend: '=',
|
||
|
frontendId: '=',
|
||
|
providerId: '='
|
||
|
}
|
||
|
};
|
||
|
});
|
||
|
|
||
|
})();
|