diff options
| -rw-r--r-- | src/ng/directive/ngSwitch.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ng/directive/ngSwitch.js b/src/ng/directive/ngSwitch.js index 7b698107..9817a9b7 100644 --- a/src/ng/directive/ngSwitch.js +++ b/src/ng/directive/ngSwitch.js @@ -8,11 +8,13 @@ * @description * Conditionally change the DOM structure. * - * @usageContent - * <ANY ng-switch-when="matchValue1">...</ANY> + * @usage + * <ANY ng-switch="expression"> + * <ANY ng-switch-when="matchValue1">...</ANY> * <ANY ng-switch-when="matchValue2">...</ANY> * ... * <ANY ng-switch-default>...</ANY> + * </ANY> * * @scope * @param {*} ngSwitch|on expression to match against <tt>ng-switch-when</tt>. |
