How do I access the $scope variable in browser’s console using AngularJS?

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.

1
19

Leave a Comment