> > Did you come across yeoman and angular generator? > > https://github.com/yeoman/generator-angular#angularjs-generator- > > Those tools scaffold/generate code base on “best practice”. >
This is a great illustration of my gripe with the JS ecosystem. *Yeoman generator for AngularJS - lets you quickly set up a project with sensible defaults and best practices. There are many starting points for building a new Angular single page app, in addition to this one. To see a comparison of the popular options, have a look at this comparison.* Due to "best practise" confusion we need a JS tool to generate "sensible" code which wraps the underlying JS language and you need to install yo, grunt-cli, bower, generator-angular and generator-karma as dependencies to make it all work. I reads like an IT comedy sketch. I'll bet there are people arguing that the "best practices" aren't the best and they know and have implemented better ones! I might write a best practice generator in JS and when it's bootstrapped far enough I'll get it to write itself. *Greg*
