Add this snippet inside the main function in app.js:
var nbDigest = 0;
$rootScope.$watch(function() {
nbDigest++;
console.log('.');
});
Observe digest getting called indefinitely.
This is a problem in complex applications with many different elements on the screen, since the whole lot of it gets reevaluated multiple times per second and crashes the browser.
Affected Angular versions: at least 1.5.7, 1.6.4
How to reproduce:
app.js
:This is a problem in complex applications with many different elements on the screen, since the whole lot of it gets reevaluated multiple times per second and crashes the browser.