Created
November 25, 2016 19:43
-
-
Save wongni/08a9e8dd57e6ba89be7e19424a948196 to your computer and use it in GitHub Desktop.
Example of something
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.controller("statusController", function () { | |
var status = this; | |
status.steps = [{ | |
num: 1, | |
name: "Make Pie" | |
}, { | |
num: 2, | |
name: "Bake Pie" | |
}, { | |
num: 3, | |
name: "Box Pie" | |
}, { | |
num: 4, | |
name: "Queue Pie" | |
}, { | |
num: 5, | |
name: "Deliver Pie" | |
}, { | |
num: 6, | |
name: "Collect money" | |
}]; | |
status.currentStep = 2; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment