I am trying to disable debug info by putting $compileProvider.debugInfoEnabled(false); in angular.config(). But why is that when I check in the chrome browser, I can still see the number of watchers with angular watchers plugin. It feels like the debug info is not disabled.
How can I disable it?
Example of my working code:
angular.module('app.core.config', [])
.config(['$compileProvider', function ($compileProvider) {
// disable debug info
$compileProvider.debugInfoEnabled(false);
}]);
angular.element(document.querySelector('body')).scope()in your console?n {$id: 2, $$childTail: b, $$childHead: b, $$prevSibling: null, $$nextSibling: null…}