Vincent Fournier 547da5b17c Add container directive
Change-Id: I60c86f468248054149ee9b66828ccf72c3094b0b
2015-08-14 14:35:04 -04:00

22 lines
789 B
JavaScript

'use strict';
angular.module('bansho.service', ['bansho.datasource'])
.directive('banshoService', function () {
return {
restrict: 'E',
scope: {
options: '='
},
templateUrl: 'components/directive/service/service.html',
controller: ['$scope', 'templateManager', 'surveilStatus', 'iframeUrl',
function ($scope, templateManager, surveilStatus, iframeUrl) {
var hostname = templateManager.getPageParam('host_name'),
serviceDescription = templateManager.getPageParam('service_description');
$scope.param = {};
$scope.components = $scope.options.components;
}]
};
});