Initial commit

This commit is contained in:
Colin McLeod
2015-04-10 12:25:47 -07:00
commit 1097ca5a42
112 changed files with 10638 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
angular.module('app').directive('componentSelect', [ function() {
return {
restrict: 'A',
scope:{
opts: '=',
c: '=',
ship: '='
},
templateUrl: 'views/component_select.html',
link: function (scope) {
scope.use = function(id, componentData) {
scope.ship.use(scope.c, id, componentData);
// hide this shit;
};
}
};
}]);