support eval in chrome app

This commit is contained in:
Javier 2016-07-20 16:16:39 -03:00
parent ba59a4f137
commit 7ee2cd756e
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ angular.module('copayApp.controllers').controller('inputAmountController', funct
function evaluate(val) {
var result;
try {
result = eval(val);
result = $scope.$eval(val);
} catch (e) {
return null;
}