diff --git a/src/js/controller.js b/src/js/controller.js index 04ee541..ed78c8f 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -25,5 +25,15 @@ angular.module('focaInformes') } ); }; + $scope.seleccionarChoferes = function() { + $uibModal.open( + { + ariaLabelledBy: 'Informes de choferes', + templateUrl: 'modal-informe-chofer.html', + controller: 'focaModalInformeChoferController', + size: 'lg' + } + ); + }; } ]); diff --git a/src/js/service.js b/src/js/service.js index 3ff86f0..caba3fc 100644 --- a/src/js/service.js +++ b/src/js/service.js @@ -6,6 +6,10 @@ angular.module('focaInformes') { label: 'Hojas de ruta', image: 'cliente.png' + }, + { + label: 'Choferes', + image: 'chofer.png' } ]; return result;