mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-12 17:03:09 +00:00
docs(guide/scope): access the current element's scope in the console.
Closes #4884
This commit is contained in:
parent
c2e45c769e
commit
c6bd58eb58
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ To examine the scope in the debugger:
|
||||||
2. The debugger allows you to access the currently selected element in the console as `$0`
|
2. The debugger allows you to access the currently selected element in the console as `$0`
|
||||||
variable.
|
variable.
|
||||||
|
|
||||||
3. To retrieve the associated scope in console execute: `angular.element($0).scope()`
|
3. To retrieve the associated scope in console execute: `angular.element($0).scope()` or just type $scope
|
||||||
|
|
||||||
|
|
||||||
## Scope Events Propagation
|
## Scope Events Propagation
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue