Top 5 AngularJS Service (Modules)

Here is what we think are the Top 5 Service AngularJS Modules at the moment. Services in AngularJS are great! They can be injected into controllers, filters, directives are are useful to share code and persist data across your application. Ng beginners might get confused between a service vs factory or service vs provider. In a nutshell, both factories and providers are services and are just coded slightly differently. However, with a provider you can inject this into your apps .config() function so you could load say environment specific settings in a config file used by your app.

Don’t forget Angular services are:

  1. Lazily instantiated – Angular only instantiates a service when an application component depends on it.
  2. Singletons – Each component dependent on a service gets a reference to the single instance generated by the service factory.

There are various service components, tutorials and examples you can check out to get your started such as AngularJS service to handle Rest API, An angular navigation service for mobile applications or even an Angularjs refresh data from service when route changes.

This post was last updated on: 25/6/2015. For an updated list see more Service AngularJS Modules

1. Restangular by Martin Gontovnikas

restangular
restangular

AngularJS service that simplifies common GET, POST, DELETE, and UPDATE requests with a minimum of client code. It’s a perfect fit for any WebApp that consumes data from a RESTful API.

GitHubDemo

2. Angular Mobile Nav by Andrew Joslin

angular-mobile-nav
angular-mobile-nav

An angular navigation service for mobile applications

GitHub Website + Demo

3. Awesome Angularjs by Gianluca Arbezzano

awesome-angularjs
awesome-angularjs

A list of awesome AngularJs services, directives, utilities and resources.

GitHub

4. Angular Route Segment by Artem Chivchalov

angular-route-segment
angular-route-segment

A lightweight extension for AngularJS $route service which supports tree-like nested views and routes, and advanced loading flow handling.

GitHub Website Demo

5. Angular Dialog Service by Michael E Conroy

angular-dialog-service
angular-dialog-service

A complete AngularJS service with controllers and templates for generating application modals and dialogs for use with Angular-UI-Bootstrap and Twitter Bootstrap.

GitHubDemo

Thank you for reading and if you would like to you can submit your Service AngularJS Modules or leave a comment below.

Post tags: Service.

Sam is a passionate web developer, online entrepreneur and investor. In his spare time he enjoys coding, playing chess and reading.

Leave a Reply

Your email address will not be published. Required fields are marked *