Yeoman - Current best way to use it with AngularJS & Express?

angularjs, express, javascript, node.js, yeoman

Solution

This project seems to cover all of the requirements (and even has optional support for MongoDB): https://github.com/DaftMonk/generator-angular-fullstack

I've just tried it locally and it works:

npm install -g generator-angular-fullstack

yo angular-fullstack [appname]

See the GitHub page for more info.

Problem

I am using Yeoman 1.0 beta and not interested in the express-stack branch. What, then, is the recommended/best way to use Yeoman to scaffold an Angular project within Express? I tried running `yo angular --minsafe` in the root directory of the Express project (where `app.js` and `package.json` are), but Yeoman was trying to override `package.json`, and the Angular files didn't go into the `public` subdirectory properly. Also I am not sure if I can just go manually moving the Angular files around without breaking Bower and Grunt functionalities. Would be great to have some advice, thanks!

Original source

Related problems