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 1. Learning to Fly

When you code larger applications in JavaScript, you soon run into a need for some kind of organization for your code. There are a great number of frameworks out there that can help you; the sheer number is enough to just keep you coding as you have done for years. Although there is a learning curve involved like in any framework or tool library, it will help you deliver a better end result with fewer headaches. A handy guide for choosing a framework is http://addyosmani.github.com/todomvc/. It shows you the same app using different tools and libraries.

Let's get going

The traditional way of getting started with any kind of JavaScript library is downloading it from its website or repository and including it in your HTML ...

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