As far as I know this is a solved problem. I used this guide when starting out with angular. Helped a lot to start and keep everything organized.
https://github.com/johnpapa/angular-styleguide/blob/master/a...
https://github.com/johnpapa/angular-styleguide/blob/master/a...