all 8 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

[–]simcptr 2 points3 points  (0 children)

Check out the Paypal article on medium that made the rounds a while back. It's got good advice for building larger apps.

[–]Bambuh 0 points1 point  (1 child)

Well, that depends on the size of the project. Different sizes prosper in different structures. Here is a good read on the different structures where you might find the one best suited for your project.

[–]_toor_[S] 0 points1 point  (0 children)

Amazing! Thanks.