AngularJS Services – Application Data Management

Application Data Management – Intro

In every medium-size application there are many data bindings between controllers, views, directives, and other application services. There are several ways to bind and store data across the application such as: using the $cacheFactory Service, or saving objects on the $rootScope. In my experience the best and most common way is to use the AngularJS Services.

You can either create one singleton object to store the entire application data, or to separate it into several services. In either case the AngularJS Services can easily give you the ability to share data across the entire application.

AngularJS logo


Continue reading