1'use strict'; 2 3/** 4 * @ngdoc function 5 * @name munilpWcApp.controller:AtencionTramiteDetalleCtrl 6 * @description 7 * # AtencionTramiteDetalleCtrl 8 * Controller of the munilpWcApp 9 */ 10angular.module('munilpWcApp') 11 .controller('AtencionTramiteDetalleCtrl', ['$location', 'TramiteService', 'EstablecimientoService', 12 function ($location, TramiteService, EstablecimientoService) { 13 14 var self = this; 15 16 var paramEstablecimientos = { 17 zoom: 13, 18 detalleTramite: true 19 }; 20 21 function inicializar (){ 22 23 var tramite = $location.search().id; 24 25 TramiteService.obtenerTramite( 26 tramite, 27 function(data){ 28 self.tramite = data; 29 30 EstablecimientoService.setEstablecimientos(data.establecimientos); 31 EstablecimientoService.setParametros(paramEstablecimientos); 32 }, 33 function(errResponse){ 34 console.log('Error obteniendo tramites..'); 35 } 36 ); 37 38 }; 39 40 inicializar(); 41 42 }]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.