added lots of shapeshift related code
This commit is contained in:
parent
2f07290dea
commit
c4c8008573
12 changed files with 669 additions and 0 deletions
17
src/js/directives/shapeshiftCoinShiftButton.js
Normal file
17
src/js/directives/shapeshiftCoinShiftButton.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.directives').directive('shapeshiftCoinShiftButton', function(shapeshiftApiService) {
|
||||
return {
|
||||
require:['^shapeshiftCoinTrader'],
|
||||
restrict: 'E',
|
||||
transclude: true,
|
||||
scope: {
|
||||
ShiftState : '=shiftState',
|
||||
shiftIt : '=shiftIt'
|
||||
},
|
||||
link: function(scope, element, attrs, controllers) {
|
||||
console.log(scope.ShiftState)
|
||||
},
|
||||
templateUrl: 'views/includes/shapeshift-coin-shift-button.html'
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue