michaelkrone / generator-material-app

Yet another yeoman generator for scaffolding a simple Node.js/Express/MongoDB/Angular.js app using some material design elements.
MIT License
177 stars 48 forks source link

[TODO] Refactor client model definition to a separate .definition.js file #93

Open Stupidism opened 8 years ago

Stupidism commented 8 years ago

ModelDefinition can be large and optional. Maybe it will need to be synced by generator, too. So, a separate file is better.

Like what I did before.

Just replace const with factory