Skip to content

Commit ea1f0fc

Browse files
committed
Merge pull request angular-wizard#12 from rtucker88/master
Fix using attribute step
2 parents bea7f05 + 1949776 commit ea1f0fc

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,20 @@ Now, in some HTML for a controller, you can just add a wizard as follows:
4949

5050
````html
5151
<wizard on-finish="finishedWizard()">
52-
<step title="Starting">
52+
<wz-step title="Starting">
5353
<h1>This is the first step</h1>
5454
<p>Here you can use whatever you want. You can use other directives, binding, etc.</p>
5555
<input type="submit" wz-next value="Continue" />
56-
</step>
57-
<step title="Continuing">
56+
</wz-step>
57+
<wz-step title="Continuing">
5858
<h1>Continuing</h1>
5959
<p>You have continued here!</p>
6060
<input type="submit" wz-next value="Go on" />
61-
</step>
62-
<step title="More steps">
61+
</wz-step>
62+
<wz-step title="More steps">
6363
<p>Even more steps!!</p>
6464
<input type="submit" wz-next value="Finish now" />
65-
</step>
65+
</wz-step>
6666
</wizard>
6767
````
6868

@@ -102,9 +102,9 @@ For those cases, we can inject the `WizardHandler` to our controller.
102102
The main function of this service is the `wizard(name)` which will let you get the wizard to manipulate it. If you have just one wizard in the screen and you didn't set a name to it, you can just call it as `wizard()`. Let's see an example:
103103

104104
````html
105-
<step title="Cool step">
105+
<wz-step title="Cool step">
106106
<input type="submit" ng-click="changeLabelAndGoNext()" />
107-
</step>
107+
</wz-step>
108108
````
109109

110110
````js

dist/angular-wizard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Easy to use Wizard library for AngularJS
3-
* @version v0.2.2 - 2014-02-13 * @link https://github.com/mgonto/angular-wizard
3+
* @version v0.2.2 - 2014-02-24 * @link https://github.com/mgonto/angular-wizard
44
* @author Martin Gontovnikas <martin@gon.to>
55
* @license MIT License, http://www.opensource.org/licenses/MIT
66
*/
@@ -26,7 +26,7 @@ angular.module("wizard.html", []).run(["$templateCache", function($templateCache
2626

2727
angular.module('mgo-angular-wizard', ['templates-angularwizard']);
2828

29-
angular.module('mgo-angular-wizard').directive('step', function() {
29+
angular.module('mgo-angular-wizard').directive('wzStep', function() {
3030
return {
3131
restrict: 'EA',
3232
replace: true,

dist/angular-wizard.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/step.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
angular.module('mgo-angular-wizard').directive('step', function() {
1+
angular.module('mgo-angular-wizard').directive('wzStep', function() {
22
return {
33
restrict: 'EA',
44
replace: true,

0 commit comments

Comments
 (0)