Inspecting Angular's Scope for any Element
First, right-click on the element and select Inspect Element. You can access the currently selected element in the console with the $0 variable. To retrieve the scope associated with the element, run: angular.element($0).scope()
Written by Ivan Reese
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Scope
Authors
Did you know?
Angular apps often share the page with analytics and payment scripts that are not Angular modules. Those scripts execute on the same origin as the framework.
Security insights from Cside
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#