1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00
portainer/app/directives/widget.js
2016-09-04 14:50:37 +12:00

13 lines
263 B
JavaScript

angular
.module('portainer')
.directive('rdWidget', function rdWidget() {
var directive = {
scope: {
"ngModel": "="
},
transclude: true,
template: '<div class="widget" ng-transclude></div>',
restrict: 'EA'
};
return directive;
});