angular/angular.js — pull request #8833 by thebigredgeek (2014-08-29 08:57:56+00:00)
Title: ngSwitch attemps to remove DOM elements twice due to async iteration

Basically, I just added a check so that there isn't an attempted splice of the previousElement if it has already been removed by an earlier watch iteration between the time that the callback was defined and actually executed