r/javascript • • Mar 27 '14

13 Steps to AngularJS Modularization

http://blog.safaribooksonline.com/2014/03/27/13-step-guide-angularjs-modularization/#more-14468
33 Upvotes

7 comments sorted by

View all comments

3

u/alabrie Mar 28 '14

Any thoughts on why I'd want to use modules instead of just splitting everything up by section, liked mentioned in the OP's article, but not using modules? I'm referring to the organization as suggested here: https://docs.google.com/document/d/1XXMvReO8-Awi1EZXAXS4PzDzdNvV6pGcuaF4Q9821Es/pub

2

u/manifold360 Mar 28 '14

Both recommended grouping by function instead of grouping by type. One calls it modules, the other calls it sections. You should just call it function groups.