Wallet/src/js/controllers/tab-send.js

24 lines
600 B
JavaScript
Raw Normal View History

2016-08-12 12:44:16 -03:00
'use strict';
angular.module('copayApp.controllers').controller('tabSendController', function($scope, $ionicModal) {
$scope.openInputAmountModal = function(addr) {
$ionicModal.fromTemplateUrl('views/modals/inputAmount.html', {
scope: $scope
}).then(function(modal) {
$scope.inputAmountModal = modal;
$scope.inputAmountModal.show();
});
};
$scope.options = {
loop: false,
effect: 'fade',
speed: 500,
};
$scope.$on("$ionicSlides.slideChangeEnd", function(event, data) {
// note: the indexes are 0-based
console.log('CHANGEDD');
});
});