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 mo
At the Chrome's console :
1. Select the **Elements** tab
2. Select the element of your angular's scope. For instance, click on an element , or , or etc.
3. Type the command **angular.element($0).scope()** with following variable in the angular's scope
Example
angular.element($0).scope().a
angular.element($0).scope().b
Chrome's console