Closed 0x80 closed 10 years ago
Just use a different name. If you look closely at the structure examples they list in that document, if there's a module "foo" and a directive called "foo-directive". So perhaps call your partial "home-partial".
The subgenerator should not be pulling the module name from the main app module. If that still occurs when the partial has a different name please let me know.
Closing this with the release of 3.1. Reopen if you're still having a problem.
I'm using the v3.1.0 branch to generate a submodule "home" in directory home.
After creating the submodule I'd like to generate a partial / route for that same name. The problem is that the generator seems to overwrite the existing module definition and replace it with a controller definition (using the main app module) if I use the same directory.
I'm trying to follow this layout as much as possible: Best Practice Recommendations for Angular App Structure
Can this be done?