There is some way to get $scope from angular.element() when the debugInfoEnabled is Disable.
angular.element(document.querySelector('some-cool-element')).scope() // Undefined
There is some way to get $scope from angular.element() when the debugInfoEnabled is Disable.
angular.element(document.querySelector('some-cool-element')).scope() // Undefined
angular.element($0).scope()
This is a duplicate question for this one
How do I access the $scope variable in browser's console using AngularJS?