Book Image

AngularJS Web application development Cookbook

By : Matthew Frisbie
Book Image

AngularJS Web application development Cookbook

By: Matthew Frisbie

Overview of this book

Packed with easy-to-follow recipes, this practical guide will show you how to unleash the full might of the AngularJS framework. Skip straight to practical solutions and quick, functional answers to your problems without hand-holding or slogging through the basics. Avoid antipatterns and pitfalls, and squeeze the maximum amount out of the most powerful parts of the framework, from creating promise-driven applications to building an extensible event bus. Throughout, take advantage of a clear problem-solving approach that offers code samples and explanations of components you should be using in your production applications.
Table of Contents (17 chapters)
AngularJS Web Application Development Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


Since its inception, AngularJS has always been a framework built with maximum testability in mind. Developers are often averse to devoting substantial time towards creating a test suite for their application, yet we all know only too well how wrong things can go when untested or partially tested code is shipped to production.

One could fill an entire book with the various tools and methodologies available for testing AngularJS applications, but a pragmatic developer likely desires a solution that is uncomplicated and gets out of the way of the application's development. This chapter will focus on the most commonly used components and practices that are at the core of the majority of test suites, as well as the best practices that yield the most useful and maintainable tests.

Furthermore, preferred testing utilities have evolved substantially over the AngularJS releases spanning the past year. This chapter will only cover the most up-to-date strategies used for AngularJS testing...