mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
UI changes, added utilitiy services, persistance, serialization
This commit is contained in:
14
app/js/directives/directive-slot-hardpoint.js
Normal file
14
app/js/directives/directive-slot-hardpoint.js
Normal file
@@ -0,0 +1,14 @@
|
||||
angular.module('app').directive('slotHardpoint', ['$rootScope', function ($r) {
|
||||
return {
|
||||
restrict: 'A',
|
||||
scope:{
|
||||
hp: '=',
|
||||
size: '=',
|
||||
lbl: '=',
|
||||
},
|
||||
templateUrl: 'views/slot-hardpoint.html',
|
||||
link: function (scope) {
|
||||
scope.$r = $r;
|
||||
}
|
||||
};
|
||||
}]);
|
||||
Reference in New Issue
Block a user