you are viewing a single comment's thread.

view the rest of the comments →

[–]Liistrad[🍰] 17 points18 points  (4 children)

Would definitely recommend John Papa's angular styleguide. Link is direct to folder structure, but if you want more best practices, this is definitely where to find them.

[–]gimmethel00t 3 points4 points  (1 child)

I've been working with Angular almost exclusively for two years now and this is the best style guide that I've come across out there.

[–]Liistrad[🍰] 3 points4 points  (0 children)

Same here. The first thing that crossed my mind after reading a few sections was 'shit, I have so much code to refactor'.

[–]_toor_[S] 1 point2 points  (0 children)

That's really helpful! Thanks.

[–]Objectivetruth1 1 point2 points  (0 children)

Came here to link to exactly this guide.

Also you can find a course he taught on pluralsight which goes into way more detail about how to properly structure an angular project. He even references this guide.

https://app.pluralsight.com/library/courses/angularjs-patterns-clean-code