Angular 1.5

https://github.com/angular/code.angularjs.org/tree/master/1.5.11

Here is an example of how to get access to the Angular scope of a DOM element, in this case the first element with class "cell-contents":

> var elt = document.getElementsByClassName('cell-contents')[0];
> var scope = window.angular.element(elt).scope();
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License