So that we could run
yo cg-angular:state newState
and then get to choose options like its url, does it need a new template or controller (run partial sub-generator and inject references into the state config), maybe go so far as to create an option for factory creation and referenced in resolve: property.
SImilarly,
yo cg-angular:state newStateView
would ask which state the view goes in and then creates the partials
Save time and mistakes with basic state scaffolding.
So that we could run
yo cg-angular:state newState
and then get to choose options like its url, does it need a new template or controller (run partial sub-generator and inject references into the state config), maybe go so far as to create an option for factory creation and referenced in resolve: property. SImilarly,yo cg-angular:state newStateView
would ask which state the view goes in and then creates the partials Save time and mistakes with basic state scaffolding.