3

There is some way to get $scope from angular.element() when the debugInfoEnabled is Disable.

angular.element(document.querySelector('some-cool-element')).scope() // Undefined

1 Answers1

1

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?

Corrot
  • 251
  • 5
  • 3