O'Reilly logo

Learning Single-page Web Application Development by Fernando Monteiro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Project organization

Now, we enter a very controversial subject when it comes to applications with AngularJS. There are many ways to configure your environment for development using the framework. Interpret how to configure the environment and structure the directories in a way that allows us to scale it with ease.

Probably, if you make a brief search, you will find many ways to do this; this is totally acceptable, but for sure, you will find your own way to do it. Until then, we will present some alternatives.

The official AngularJS project has a simple boilerplate to start angular-seed; you can find it at https://github.com/angular/angular-seed.

The following screenshot shows angular-seed's structure:

Generally, the whole structure of AngularJS ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required