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

Chapter 2. Expanding Your Toolkit with Filters and Service Types

In this chapter, we will cover the following recipes:

  • Using the uppercase and lowercase filters

  • Using the number and currency filters

  • Using the date filter

  • Debugging using the json filter

  • Using data filters outside the template

  • Using built-in search filters

  • Chaining filters

  • Creating custom data filters

  • Creating custom search filters

  • Filtering with custom comparators

  • Building a search filter from scratch

  • Building a custom search filter expression from scratch

  • Using service values and constants

  • Using service factories

  • Using services

  • Using service providers

  • Using service decorators