We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65e607b + db252a2 commit 929c23cCopy full SHA for 929c23c
index.html
@@ -1176,7 +1176,12 @@ <h3>Options</h3>
1176
</li>
1177
<li>Using <code>ui-route</code> with <code>href</code> attribute:
1178
<ul style="margin-top: 5px;">
1179
- <li>Static Only: <code><a ui-route ng-href="/page"></code></li>
+ <li>Static Only: <code><a ui-route href="/page"></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><li ui-route="/page/{{ sample }}" ng-model="current"></code></li>
1185
</ul>
1186
1187
0 commit comments