File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ export default angular
81
81
<h2>Child View 1</h2>
82
82
<button ng-click="stateGo('app.child2')">stateGo View 2</button>
83
83
<button ng-click="stateTransitionTo('app.child2')">stateTransitionTo View 2</button>
84
+ <button ng-click="stateTransitionTo('app.child3', {id: '4'})">stateTransitionTo View 3, ID: 4</button>
84
85
</div>
85
86
`
86
87
}
@@ -122,6 +123,7 @@ export default angular
122
123
template : `
123
124
<div class="child-view">
124
125
<h2>Child View 3</h2>
126
+ <h3>ID: {{router.currentParams.id}}</h3>
125
127
<button ng-click="stateGo('app.child3', {id: '1'})">$state.go View 3, ID: 1</button>
126
128
<button ng-click="stateGo('app.child3', {id: '2'})">$state.go View 3, ID: 2</button>
127
129
<button ng-click="stateGo('app.child3', {id: '3'})">$state.go View 3, ID: 3</button>
You can’t perform that action at this time.
0 commit comments