In
AngularJS, services are reusable singleton objects that are used to organize and share code across your app. They can be injected into controllers, filters, directives.
AngularJS provides you three ways : service,
factory and provider to create a service.Sep 9, 2014
read more >>