Over a million developers have joined DZone.

Structuring Large AngularJS Applications: Modules and ngStart

DZone's Guide to

Structuring Large AngularJS Applications: Modules and ngStart

· Web Dev Zone ·
Free Resource

Jumpstart your Angular applications with Indigo.Design, a unified platform for visual design, UX prototyping, code generation, and app development.

How do you structure your large AngularJS applications? This recent blog post from Marco Rinck at Entwicklertagebuch explores the author's original (less effective) method of structuring AngularJS applications, and compares it to the strategy he settled upon after some experimentation, which is a more modular approach using ngStart.

His original approach (a controllers folder, and a directives folder, and a services folder, and so on) led to obscured dependencies, difficulty with refactoring, and a general lack of clarity and organization in the code. The revised strategy, on the other hand, is much more organized and flexible.

For a complete overview of Rinck's modular AngularJS organizational strategy, check out the full post at his blog, and check out ngStart as well.

Take a look at an Indigo.Design sample application to learn more about how apps are created with design to code software.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}