Skip to content

Instantly share code, notes, and snippets.

@ao
Created December 18, 2013 11:56
Show Gist options
  • Save ao/2b6ca4a4df66fe48b7a6 to your computer and use it in GitHub Desktop.
Save ao/2b6ca4a4df66fe48b7a6 to your computer and use it in GitHub Desktop.
AngularJS - Get parent scope!
var scope = angular.element(document).scope();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment