Skip to content

Commit db252a2

Browse files
committed
fixing typo and adding custom flag note
1 parent ae2e32d commit db252a2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,12 @@ <h3>Options</h3>
11761176
</li>
11771177
<li>Using <code>ui-route</code> with <code>href</code> attribute:
11781178
<ul style="margin-top: 5px;">
1179-
<li>Static Only: <code>&lt;a ui-route ng-href="/page"&gt;</code></li>
1179+
<li>Static Only: <code>&lt;a ui-route href="/page"&gt;</code></li>
1180+
</ul>
1181+
</li>
1182+
<li>You can also pass a model to <code>ui-route</code>. This model could then be used the same as <code>$uiRoute</code>.
1183+
<ul style="margin-top: 5px;">
1184+
<li><code>&lt;li ui-route="/page/{{ sample }}" ng-model="current"&gt;</code></li>
11801185
</ul>
11811186
</li>
11821187
</ul>

0 commit comments

Comments
 (0)