Last active
March 22, 2016 20:57
-
-
Save jjvillavicencio/1bb052d655a26340a9b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.service('srvGaleria',['$http',function($http){ | |
this.servicioGaleria = function (parametro,tipo){ | |
// parametro=parametro.replace(" ","%20"); | |
console.log('http://carbono.utpl.edu.ec:8080/media/webresources/detalle/buscarporsujeto?sujeto='+parametro+'&type='+tipo); | |
return $http.get('http://carbono.utpl.edu.ec:8080/media/webresources/detalle/buscarporsujeto?sujeto='+parametro+'&type='+tipo); | |
}; | |
}]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment