Create an AngularJS Service
Explains how to create and use an AngularJS service to share information across controllers.
Explains how to create and use an AngularJS service to share information across controllers.
AngularJS sends and receives external data by using the $http service. This post shows an example with get and post requests.
Explains the dependency injection mechanism used in AngularJS and provides a basic example.