I know I can enable $compileProvider
to see debug info, but in my case, I prefer not to enable it.
When I use angular.element($0).scope();
or $($0).data().$scope
it is returning undefined. I wonder if there is any solution that doesn't need to turn on debug info to get $scope
with jQuery.