angular/angular.js — pull request #1793 by danilsomsikov (2013-01-11 17:22:43+00:00)
Title: fix(ngSwitch): not leak when transcluded and cloned

The leak can occur when ngSwich is used inside ngRepeat or any other
directive which does not attached transcluded content to DOM but clones
it.

Refactor ngSwitch to use controller instead of storing data on compile
node.

Closes #1621