mgonto/angular-wizard — pull request #13 by jak4 (2014-02-26 09:40:37+00:00)
Title: Add init param to wz-step. Execute whats inside init on the $scope.$pare...

...nt via eval to call external method when a step is added to the wizard.

Example: wz-step(title="Client" init='myInitStep()')

I needed to set completed = true on all steps so I could reuse the wizard for create and update functionality.

JS is not my primary language so maybe there is a better way to handle this than via eval.