We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ab1fab commit a178aa8Copy full SHA for a178aa8
test/stateDirectivesSpec.js
@@ -16,6 +16,7 @@ describe('uiStateRef', function() {
16
template: '<a ui-sref=".item({ id: 5 })" class="item">Person</a> <ui-view></ui-view>'
17
}).state('contacts.item', {
18
url: '/:id',
19
+ params: { id: null },
20
template: '<a ui-sref=".detail" class="item-detail">Detail</a> | <a ui-sref="^" class="item-parent">Parent</a> | <ui-view></ui-view>'
21
}).state('contacts.item.detail', {
22
template: '<div class="title">Detail</div> | <a ui-sref="^" class="item-parent2">Item</a>'
0 commit comments