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