Created
December 6, 2015 22:26
-
-
Save NizarOukhchi/96465b6f6a79d89eb339 to your computer and use it in GitHub Desktop.
Get Scope
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.body.onclick = function(event){window.scope = angular.element(event.target).scope();console.log(window.scope);document.body.onclick = null;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment