I'm trying to take advantage of AngularJS new fetures. One of them is :
$compileProvider.debugInfoEnabled(false);
The thing is that some pieces of my code rely on angular.element(el).scope()
calls. So they won't work any longer.
Is there a way to rewrite angular.element(el).scope()
expression to somehow get element's scope without debug info enabled?