Google has released a recommended app structure similar to this as well [0], though I haven't actually seen it being used too often in the projects I've come across.
[0] - https://docs.google.com/document/d/1XXMvReO8-Awi1EZXAXS4PzDz...
Google has released a recommended app structure similar to this as well [0], though I haven't actually seen it being used too often in the projects I've come across.
[0] - https://docs.google.com/document/d/1XXMvReO8-Awi1EZXAXS4PzDz...
Furthermore most likely you will be sharing many partial templates or widgets between different views and sections in your app. So those have to go in some sort of common views folder, losing much of your grouping.
I wouldn't say either way is right or wrong, it just depends on your workflow, size of the app and size of the team working on it.
It's easier instead to just dump all of them into one place and copy that folder, no need to update references etc. then.
Any ideas on how to solve this?
There might be some way to load them into $templateCache on build, but that would kill lazy loading