O'Reilly logo

Dependency Injection with AngularJS by Alex Knol

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

Chapter 5. Large Applications

Writing a large, single-page application using traditional methods that are based on DOM manipulation has turned out to be difficult to manage and maintain. As we have seen in this book, Angular brings a new paradigm to the table for creating more maintainable applications by using dependency injection. Even when using Angular, it is still entirely possible to create unmaintainable and untestable code. In this chapter, we will look at the patterns that can be used with Angular to further ease your work as a developer.

Organizing your application

Most newcomers to Angular start off by cloning the Angular seed project on GitHub. This roughly resembles the setup that you have seen in this book so far https://github.com/angular/angular-seed.git ...

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