mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 07:05:35 +00:00
Initial Commit for React
This commit is contained in:
13
app/js/components/directive-slot-internal.js
Executable file
13
app/js/components/directive-slot-internal.js
Executable file
@@ -0,0 +1,13 @@
|
||||
angular.module('app').directive('slotInternal', ['$rootScope', function($r) {
|
||||
return {
|
||||
restrict: 'A',
|
||||
scope: {
|
||||
c: '=slot',
|
||||
fuel: '='
|
||||
},
|
||||
templateUrl: 'views/_slot-internal.html',
|
||||
link: function(scope) {
|
||||
scope.$r = $r;
|
||||
}
|
||||
};
|
||||
}]);
|
||||
Reference in New Issue
Block a user