This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get scope for selected element: | |
$($0).scope() | |
Get controller for a selected element: | |
$($0).closest('[ng-controller]').attr('ng-controller') | |
Source: http://eng.localytics.com/tips-and-tricks-for-debugging-unfamiliar-angularjs-code/ | |
NewerOlder