From 3c842b620bf713171c4ae94adcbdce9af12dc74c Mon Sep 17 00:00:00 2001 From: gdennie Date: Wed, 4 Dec 2013 20:57:33 -0500 Subject: [PATCH] Clarified that ngSwitchWhen acceptable expressions must be a text literal The matchValue is not arbitrary but must be text. In particular, it cannot even be an expression or handle-barred expression resulting in text. --- src/ng/directive/ngSwitch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ng/directive/ngSwitch.js b/src/ng/directive/ngSwitch.js index d4387ae20597..fc3dd99719f9 100644 --- a/src/ng/directive/ngSwitch.js +++ b/src/ng/directive/ngSwitch.js @@ -25,8 +25,8 @@ * * @usage * - * ... - * ... + * ... + * ... * ... * *