Skip to content

Instantly share code, notes, and snippets.

@durbon
Created August 1, 2012 13:35
Show Gist options
  • Save durbon/3226869 to your computer and use it in GitHub Desktop.
Save durbon/3226869 to your computer and use it in GitHub Desktop.
miServicio.get("http://www.bing.com")
.then(
function (resultado) {
// funcion invocada si el resultado es satisfactorio
},
function (error) {
// funcion invocada si hay un error
},
function (progress) {
// funcion invocada cuando existe un progreso
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment