angular .module('portainer') .directive('rdWidget', function rdWidget() { var directive = { scope: { "ngModel": "=" }, transclude: true, template: '
', restrict: 'EA' }; return directive; });