Skip to content

Instantly share code, notes, and snippets.

@mkempe
Created September 28, 2012 11:22
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 mkempe/3799263 to your computer and use it in GitHub Desktop.
Save mkempe/3799263 to your computer and use it in GitHub Desktop.
Dr. Evil
var selector = angular.element($(".ng-scope")[0]);
var scope = selector.scope();
var grid = scope.$$childTail.grid;
$.each(grid, function(i, row) {
$.each(row, function(j, element) {
element.solve();
});
});
$('table.memory-table td.ng-scope')[0].click();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment