angular/angular.js — pull request #5285 by gdennie (2013-12-05 01:57:44+00:00)
Title: Clarified that ngSwitchWhen acceptable expressions must be a text litera...

...l

The matchValue is not arbitrary but must be text. In particular, it cannot even be an expression or handle-barred expression resulting in text.