Files
coriolis/app/js/directives/directive-slot-internal.js
2015-05-04 18:31:34 -07:00

14 lines
287 B
JavaScript

angular.module('app').directive('slotInternal', ['$rootScope', function ($r) {
return {
restrict: 'A',
scope:{
c: '=slot',
lbl: '=',
opts: '='
},
templateUrl: 'views/_slot-internal.html',
link: function(scope) {
scope.$r = $r;
}
};
}]);