Commit 376f3a5cf89257af911c37ac5e8606d16d0e82d0
1 parent
0826f5cac5
Exists in
master
and in
1 other branch
nombre del parámetro
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/js/service.js
... | ... | @@ -9,7 +9,7 @@ angular.module('focaModal') |
9 | 9 | controller: 'focaModalConfirmController', |
10 | 10 | animation: false, |
11 | 11 | backdrop: false, |
12 | - resolve: { text: function() { return textoModal; } } | |
12 | + resolve: { textoModal: function() { return textoModal; } } | |
13 | 13 | }) |
14 | 14 | .result.then( |
15 | 15 | function(resultado) { |
... | ... | @@ -23,7 +23,7 @@ angular.module('focaModal') |
23 | 23 | controller: 'focaModalAlertController', |
24 | 24 | animation: false, |
25 | 25 | backdrop: false, |
26 | - resolve: { text: function() { return textoModal; } } | |
26 | + resolve: { textoModal: function() { return textoModal; } } | |
27 | 27 | }); |
28 | 28 | } |
29 | 29 | }; |