harbor/static/ng/resources/js/components/system-management/system-management.directive.js

26 lines
601 B
JavaScript
Raw Normal View History

(function() {
'use strict';
angular
.module('harbor.system.management')
.directive('systemManagement', systemManagement);
function SystemManagementController() {
var vm = this;
vm.target = 'destinations';
}
function systemManagement() {
var directive = {
'restrict': 'E',
'templateUrl': '/static/ng/resources/js/components/system-management/system-management.directive.html',
'scope': true,
'controller': SystemManagementController,
'controllerAs': 'vm',
'bindToController': true
};
return directive;
}
})();