Commit 8ff26d118ed03bced2eeb00cdd0323ad8de8220b
1 parent
6a07416f92
Exists in
master
uso factory, fuera inyecciones
Showing
3 changed files
with
2 additions
and
3 deletions
Show diff stats
gulpfile.js
| ... | ... | @@ -41,7 +41,6 @@ gulp.task('uglify', ['templates'], function() { |
| 41 | 41 | ]), |
| 42 | 42 | concat('foca-modal-resumen-cuenta.js'), |
| 43 | 43 | replace('src/views/', ''), |
| 44 | - replace("['ui.bootstrap']", '[]'), | |
| 45 | 44 | gulp.dest(paths.tmp), |
| 46 | 45 | rename('foca-modal-resumen-cuenta.min.js'), |
| 47 | 46 | uglify(), |
src/js/app.js
src/js/service.js
| 1 | 1 | angular.module('focaModalResumenCuenta') |
| 2 | - .service('focaModalResumenCuentaService', ['$http', 'API_ENDPOINT', function($http, API_ENDPOINT) { | |
| 2 | + .factory('focaModalResumenCuentaService', ['$http', 'API_ENDPOINT', function($http, API_ENDPOINT) { | |
| 3 | 3 | return { |
| 4 | 4 | getResumenCuenta: function(idCliente, fechaDesde) { |
| 5 | 5 | return $http.get(API_ENDPOINT.URL + |