Cover image for Dependency Injection with AngularJS.
Dependency Injection with AngularJS.
Title:
Dependency Injection with AngularJS.
Author:
Knol, Alex.
ISBN:
9781782166573
Personal Author:
Physical Description:
1 online resource (93 pages)
Contents:
Dependency Injection with AngularJS -- Table of Contents -- Dependency Injection with AngularJS -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Learning to Fly -- Let's get going -- Adding a controller -- What about routes? -- Showing a list -- Adding a filter -- Chart directives -- Using services -- Summary -- 2. Better Code -- Wiring up the backend -- Duplicating code -- Angular service to the rescue -- The theory behind Dependency Injection -- Summary -- 3. The Magic -- Application flow -- Different ways of injecting -- Summary -- 4. Testing -- Test automation -- Test your code, not the framework -- Testing the parts -- The Karma test runner -- End-to-end testing -- Setting up the Protractor -- Summary -- 5. Large Applications -- Organizing your application -- Going a bit larger -- Organizing using dynamic teams -- Using modules -- Organizing using directives -- Nesting controllers -- More powerful nesting -- Application communication -- Events -- Let the model speak -- Summary -- Index.
Abstract:
This book is a practical, hands-on approach to using dependency injection and implementing test-driven development using AngularJS. Dependency Injection with AngularJS is aimed at developers who are aware of AngularJS but need to get started with using it in real life applications. Also, developers who want to get into test-driven development with AngularJS can use this book as practical guide. Even if you know about dependency injection, it can serve as a good reference on how it is used within AngularJS. Readers are expected to have some experience with JavaScript.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: