Skip to content

Instantly share code, notes, and snippets.

@sudodoki
Forked from olostan/gist:7a22213d7fd469c42d51
Created June 10, 2014 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sudodoki/e60d42ae10ff49d86250 to your computer and use it in GitHub Desktop.
Save sudodoki/e60d42ae10ff49d86250 to your computer and use it in GitHub Desktop.
angular.element(document.body).injector().invoke(function($http) { $http.get('/api/').then(console.log.bind(console),console.error.bind(console))})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment