diff --git a/js/controllers/home.js b/js/controllers/home.js
index 1a9a85c2b..e2ee99878 100644
--- a/js/controllers/home.js
+++ b/js/controllers/home.js
@@ -11,6 +11,8 @@ angular.module('copayApp.controllers').controller('HomeController', function($sc
}
+
+
if ($rootScope.fromEmailConfirmation) {
$scope.confirmedEmail = true;
$rootScope.fromEmailConfirmation = false;
@@ -29,6 +31,18 @@ angular.module('copayApp.controllers').controller('HomeController', function($sc
identityService.open($scope, form);
}
+ //TODO erase this function
+ $scope.setPayment = function() {
+ $rootScope.pendingPayment = {
+ "data": {
+ "amount": 20.3,
+ "label": "Luke-Jr",
+ "message": "Hola chango?"
+ },
+ "address": "175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W"
+ };
+ }
+
function getParam(sname) {
var params = location.search.substr(location.search.indexOf("?") + 1);
var sval = "";
diff --git a/views/home.html b/views/home.html
index f408e7e47..25885a4f7 100644
--- a/views/home.html
+++ b/views/home.html
@@ -9,6 +9,12 @@