Skip to content

Commit c6bd58e

Browse files
smarigowdapetebacondarwin
authored andcommitted
docs(guide/scope): access the current element's scope in the console.
Closes angular#4884
1 parent c2e45c7 commit c6bd58e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/scope.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ To examine the scope in the debugger:
177177
2. The debugger allows you to access the currently selected element in the console as `$0`
178178
variable.
179179

180-
3. To retrieve the associated scope in console execute: `angular.element($0).scope()`
180+
3. To retrieve the associated scope in console execute: `angular.element($0).scope()` or just type $scope
181181

182182

183183
## Scope Events Propagation

0 commit comments

Comments
 (0)