단계 마법사를 모달에 넣으 려합니다. 여기 http://plnkr.co/edit/achnwMtmebR3oc8bq7pp?p=preview각도 UI 라우터 - 모달 내 중첩 된보기
내 작업 모달 plunker : http://plnkr.co/edit/ux1Ju6m2s9VqiIPjmH1n?p=preview
은 어떻게 모달이 작업 마법사를 추가하려면 다음
내 작업 마법사인가? 중첩 된 상태가 여러 상태 또는 2 개 이하로 제한 될 수 있습니까?
.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');
})