844d9e0e6e
Change-Id: Ieeb6980232c02ec72a6a0caa707dddbacb008a6f
16 lines
609 B
JavaScript
16 lines
609 B
JavaScript
'use strict';
|
|
|
|
angular.module('bansho.tile')
|
|
.directive('banshoTileHostMain', function () {
|
|
return {
|
|
restrict: 'E',
|
|
templateUrl: 'components/custom_directive/tile/host_main/host_main.html',
|
|
controller: ['$scope', 'sharedData', 'templateManager', function (scope, sharedData, templateManager) {
|
|
scope.host = sharedData.getDataFromInputSource('statusHosts', false,
|
|
templateManager.getAllPageParams(), false, function (host) {
|
|
scope.host = host;
|
|
});
|
|
}]
|
|
};
|
|
});
|