angular/angular.js — pull request #4905 by wizcover (2013-11-12 06:32:06+00:00)
Title: fix($rootScope): clear phase if an exception is raised by a watcher

Add calls to clearPhase() when an exception is raised by a watcher
while a digest cycle, in order to not be stuck on `$digest` scope phase