added lots of shapeshift related code

This commit is contained in:
Kadir Sekha 2017-12-08 18:02:30 +09:00
commit c4c8008573
12 changed files with 669 additions and 0 deletions

View 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'
}
});