It's a wizard package to make Multistep view and Multistep forms.
- Simple Directive flow.
- Easy validation for forms.
- Pass your template, scope and controller.
- Angular JS 1.5.x
<form-wizard steps="steps">
<steps></steps>
<control-panel></control-panel>
</form-wizard>
You can remove steps or control panel if you want to customize it.
Pass steps as follows:
$scope.steps = [{
name: 'Profile',
templateUrl : 'profile.html',
controller: 'ProfileController',
scope : $scope
},
{
name: 'Interests',
template : '<h1>form-interests</h1>'
},
{
name: 'Submit',
template : '<h1>form-submit</h1>',
controller: 'ProfileController',
scope : $scope
}
];
pass $scope.model
object to bind your data to wizardService
. You can get your data by accessing wizardService.data
.
Clone the angular-wizard
repository using git:
git clone https://github.com/innovaccer/angular-wizard.git
cd angular-wizard
npm install
npm run test