cgross / generator-cg-angular

Yeoman generator for Enterprise Angular projects.
MIT License
592 stars 198 forks source link

enhancement: ui-angular sub-generators for states and state views #43

Open 34r7h opened 10 years ago

34r7h commented 10 years ago

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.

bastman commented 10 years ago

+1