Commit ba8f24b1ab2838feb270d16dee97462c642f9261
1 parent
ff5c167401
Exists in
master
resolve de idTransportista
Showing
1 changed file
with
6 additions
and
1 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -229,7 +229,12 @@ angular.module('focaCrearHojaRuta') .controller('hojaRutaCtrl', |
229 | 229 | ariaLabelledBy: 'Busqueda de Vehiculo', |
230 | 230 | templateUrl: 'modal-vehiculo.html', |
231 | 231 | controller: 'focaModalVehiculoController', |
232 | - size: 'lg' | |
232 | + size: 'lg', | |
233 | + resolve: { | |
234 | + idTransportista: function() { | |
235 | + return -1; | |
236 | + } | |
237 | + } | |
233 | 238 | } |
234 | 239 | ); |
235 | 240 |