News for hackers. Stuff that matters.
Re:AngularJS Tutorial: Learn to Build Modern Web Apps by Rodeoclash on Wednesday September 04, 2013 @07:28PM (#6331202)
Can you give an example of how you've organised the modules? Like one per model (a products module) or by section of the site?
Re:AngularJS Tutorial: Learn to Build Modern Web Apps by rs on Wednesday September 04, 2013 @08:01PM (#6331335)
If I'm not mistaken, instead of splitting into:

  controllers/
    users.js
    teams.js
  models/
    user.js
    team.js
Just have:

  modules/
    users.js
    teams.js
Where model and controllers for each function is defined within a single file.

I've switched to this convention as well - less context switching of files.

Re:AngularJS Tutorial: Learn to Build Modern Web Apps by Kiro on Thursday September 05, 2013 @04:16AM (#6332829)
I don't understand what you would have in "models". Services?