So for my sins I'm on an Angular 2 project. I use angular.element($0).scope()
all the time on my old Angular 1 work to inspect an element and see what's on the scope at that point in the dev tools. This is super useful, is there something similar in Angular 2?
Asked
Active
Viewed 4,275 times
6

BDL
- 21,052
- 22
- 49
- 55

SpaceBeers
- 13,617
- 6
- 47
- 61
2 Answers
12
Augury is a great suggestion. If you want direct access use
ng.probe($0)
See also

Community
- 1
- 1

Günter Zöchbauer
- 623,577
- 216
- 2,003
- 1,567