Access the $scope variable in Chrome browser’s console

Select an element in the HTML panel of the developer tools and type this in the console

angular.element($0).scope()
Advertisements