Commit 1f104c026b8d513031af531c32cbe36ddbf7c739
1 parent
48e24f5177
Exists in
master
ok nombres plural
Showing
5 changed files
with
10 additions
and
10 deletions
Show diff stats
gulpfile.js
| ... | ... | @@ -24,7 +24,7 @@ gulp.task('templates', function() { |
| 24 | 24 | replace('views/', ''), |
| 25 | 25 | htmlmin(), |
| 26 | 26 | templateCache('views.js', { |
| 27 | - module: 'focaEstadoCisterna', | |
| 27 | + module: 'focaEstadoCisternas', | |
| 28 | 28 | root: '' |
| 29 | 29 | }), |
| 30 | 30 | gulp.dest(paths.tmp) |
| ... | ... | @@ -39,11 +39,11 @@ gulp.task('uglify', ['templates'], function() { |
| 39 | 39 | paths.srcJS, |
| 40 | 40 | 'tmp/views.js' |
| 41 | 41 | ]), |
| 42 | - concat('foca-estado-cisterna.js'), | |
| 42 | + concat('foca-estado-cisternas.js'), | |
| 43 | 43 | replace("['ngRoute', 'focaModal', 'ui.bootstrap', 'focaBotoneraLateral']", '[]'), |
| 44 | 44 | replace("src/views/", ''), |
| 45 | 45 | gulp.dest(paths.tmp), |
| 46 | - rename('foca-estado-cisterna.min.js'), | |
| 46 | + rename('foca-estado-cisternas.min.js'), | |
| 47 | 47 | uglify(), |
| 48 | 48 | gulp.dest(paths.dist) |
| 49 | 49 | ] |
index.html
src/js/app.js
src/js/controller.js
| 1 | -angular.module('focaEstadoCisterna') | |
| 2 | - .controller('focaEstadoCisternaController', [ | |
| 3 | - '$scope', 'focaEstadoCisternaService', '$location', 'focaModalService', | |
| 1 | +angular.module('focaEstadoCisternas') | |
| 2 | + .controller('focaEstadoCisternasController', [ | |
| 3 | + '$scope', 'focaEstadoCisternasService', '$location', 'focaModalService', | |
| 4 | 4 | '$uibModal', 'focaBotoneraLateralService', '$timeout', |
| 5 | - function($scope, focaEstadoCisternaService, $location, focaModalService, | |
| 5 | + function($scope, focaEstadoCisternasService, $location, focaModalService, | |
| 6 | 6 | $uibModal, focaBotoneraLateralService, $timeout) { |
| 7 | 7 | |
| 8 | 8 | $scope.now = new Date(); |
src/js/route.js