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

Tips, tricks and tools for creating your own data-driven app, brought to you in partnership with Qlik.

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.

Explore data-driven apps with less coding and query writing, brought to you in partnership with Qlik.


Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}