docs(ngSwitch): improve the @usage example
This commit is contained in:
@@ -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>.
|
||||
|
||||
Reference in New Issue
Block a user