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