'use strict';

angular.module('copayApp.controllers').controller('IndexController', function($scope, go, isCordova) {
  $scope.init = function() {

  };

  $scope.swipe = function(invert) {
    if (isCordova) { 
      go.swipe(invert);
    }
  };

});

'use strict';

angular.module('copayApp.controllers').controller('IndexController', function($scope, go, isCordova) {
  $scope.init = function() {

  };

  $scope.swipe = function(invert) {
    go.swipe(invert);
  };

});

enable swipe for all devices with touch screen