Skip to content

Instantly share code, notes, and snippets.

@micron
Created February 5, 2014 16:03
Show Gist options
  • Save micron/8826880 to your computer and use it in GitHub Desktop.
Save micron/8826880 to your computer and use it in GitHub Desktop.
Useful Chrome DevTools Snippets
// if you need the injector from the console
var injector = angular.element('html').injector();
// you can then do something like:
// var dateFilter = injector.get('dateFilter');
// dateFilter('date', 'type');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment