mirror of https://github.com/portainer/portainer
14 lines
308 B
JavaScript
14 lines
308 B
JavaScript
|
angular
|
||
|
.module('portainer')
|
||
|
.directive('rdTemplateWidget', function rdWidget() {
|
||
|
var directive = {
|
||
|
scope: {
|
||
|
'ngModel': '='
|
||
|
},
|
||
|
transclude: true,
|
||
|
template: '<div class="widget template-widget" id="template-widget" ng-transclude></div>',
|
||
|
restrict: 'EA'
|
||
|
};
|
||
|
return directive;
|
||
|
});
|