How do I access the $scope variable in browser's console using AngularJS?
Asked 07 September, 2021
Viewed 2.2K times
  • 58
Votes

I would like to access my $scope variable in Chrome's JavaScript console. How do I do that?

I can neither see $scope nor the name of my module myapp in the console as variables.

19 Answer