私はステップウィザードをモーダルに入れたいと思います。ここで角uiルータ - モダール内のネストされたビュー
私の作業ウィザードである:ここでplunker http://plnkr.co/edit/achnwMtmebR3oc8bq7pp?p=preview
は私の作業モーダルです:http://plnkr.co/edit/ux1Ju6m2s9VqiIPjmH1n?p=preview
私はモーダルにこの作業ウィザードを追加するにはどうすればよいですか?ネストされた状態は複数の状態になることができますか?
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
// route to show our basic form (/form)
.state('form', {
url: '/form',
templateUrl: 'form.html',
controller: 'formController'
})
// nested states
// each of these sections will have their own view
// url will be nested (/form/profile)
.state('form.profile', {
url: '/profile',
templateUrl: 'form-profile.html'
})
// url will be /form/interests
.state('form.interests', {
url: '/interests',
templateUrl: 'form-interests.html'
})
// url will be /form/payment
.state('form.payment', {
url: '/payment',
templateUrl: 'form-payment.html'
});
// catch all route
// send users to the form page
$urlRouterProvider.otherwise('/form/profile');
})