» » Dependency Injection with AngularJS

Information of news
24-01-2014, 07:26

Dependency Injection with AngularJS

Category: E-Books

Dependency Injection with AngularJS

Alex Knol, "Dependency Injection with AngularJS"
English | 2014 | ISBN: 1782166564 | 78 pages | PDF | 3,6 MB

Design, control, and manage your dependencies with AngularJS dependency injection

Understand the concept of dependency injection
Isolate units of code during testing javascript using Jasmine
Create reusable components in AngularJS

In Detail

Dependency injection facilitates better testing by allowing us to mock dependencies in testing environments so that we only test one thing at a time. It also enables us to write more maintainable code by decoupling our objects from their implementations. The motivation for using it in AngularJS is to make it easier to transparently load mocked objects in tests.

This book is a practical manual to get you started on dependency injection. It will also take you along the road to creating testable and reusable code. Ensuring productivity and stability are the two most important things that you will learn.

"Dependency Injection with AngularJS" will introduce you to AngularJS using a simple sample project. By portraying different ways of developing code modules, it will show you the advantages of dependency injection. This will lead to the ability to create reusable components that can easily be tested.

You will learn everything you need to know how to use dependency injection with AngularJS.

What you will learn from this book
Create reusable components propelled by the independence of components from each other
Run tests on real browsers using the Karma test runner
Set up Jasmine BDD testing
Set up and install AngularJS
Change coupled code to loosely coupled injected dependencies
Create integration tests using Protractor
Organize large applications using dependency injection






Site BBcode/HTML Code:

Tags to an Article: Dependency, Injection, with, AngularJS

Dear visitor, you went to the site as unregistered user.
We recommend you Sign up or Login to website under your name.
Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.