PacktLib: Dependency Injection with AngularJS

Dependency Injection with AngularJS

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Learning to Fly

Let's get going

Adding a controller

What about routes?

Showing a list

Adding a filter

Chart directives

Summary

Better Code

Wiring up the backend

Duplicating code

Angular service to the rescue

The theory behind Dependency Injection

Summary

The Magic

Application flow

Different ways of injecting

Summary

Testing

Test automation

Test your code, not the framework

Testing the parts

The Karma test runner

End-to-end testing

Summary

Large Applications

Organizing your application

Organizing using dynamic teams

Nesting controllers

More powerful nesting

Application communication

Summary

Index