Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

docs(ngSwitch): Replace tt tag with code tag #11509

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ng/directive/ngSwitch.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
*
* @scope
* @priority 1200
* @param {*} ngSwitch|on expression to match against <tt>ng-switch-when</tt>.
* @param {*} ngSwitch|on expression to match against <code>ng-switch-when</code>.
* On child elements add:
*
* * `ngSwitchWhen`: the case statement to match against. If match then this
Expand All @@ -60,7 +60,7 @@
<div ng-controller="ExampleController">
<select ng-model="selection" ng-options="item for item in items">
</select>
<tt>selection={{selection}}</tt>
<code>selection={{selection}}</code>
<hr/>
<div class="animate-switch-container"
ng-switch on="selection">
Expand Down