diff --git a/gulpfile.js b/gulpfile.js index 0a0aac5..96a01a1 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -23,7 +23,7 @@ gulp.task('templates', ['clean'], function() { gulp.src(paths.srcViews), htmlmin(), templateCache('views.js', { - module: 'focaListaHojaRuta', + module: 'focaHojaRuta', root: '' }), gulp.dest(paths.tmp) diff --git a/src/js/app.js b/src/js/app.js index 2f11d18..e41a0c5 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -1,4 +1,4 @@ -angular.module('focaListaHojaRuta', [ +angular.module('focaHojaRuta', [ 'ngRoute' /*'focaBusquedaProductos', 'focaModalProveedor', diff --git a/src/js/controller.js b/src/js/controller.js index 5a0cf0b..ef18601 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -1,4 +1,4 @@ -angular.module('focaListaHojaRuta') +angular.module('focaHojaRuta') .controller('listaHojaRutaCtrl', [ '$scope', '$filter', '$uibModal', 'hojaRutaService', diff --git a/src/js/route.js b/src/js/route.js index dcc9caf..4efe5b6 100644 --- a/src/js/route.js +++ b/src/js/route.js @@ -1,4 +1,4 @@ -angular.module('focaListaHojaRuta') +angular.module('focaHojaRuta') .config(['$routeProvider', function($routeProvider) { $routeProvider.when('/venta-hoja-ruta/lista', { controller: 'listaHojaRutaCtrl', diff --git a/src/js/service.js b/src/js/service.js index cc1977e..a3396bf 100644 --- a/src/js/service.js +++ b/src/js/service.js @@ -1,4 +1,4 @@ -angular.module('focaListaHojaRuta') +angular.module('focaHojaRuta') .service('hojaRutaService', ['$http', 'API_ENDPOINT', function($http, API_ENDPOINT) { var route = API_ENDPOINT.URL; return {