Angular state management using services built with ez-state

One of Angular’s most powerful features is services and dependency injection. Services coupled with RxJs behavior subjects is one of the best ways to manage application state. In this article we will explore using the library ez-state to help us create simple Angular services for state management.

What is ez-state? It is a light weight helper library for creating behavior subjects that manage the state of your service. At the heart of each ez-state cache object is a behavior subject that contains an object of the following…