angular-http-cache

An angular module that sits on top of $http and adds caching support and application wide notifications when cached data is updated.


Keywords
angular, http, cache
License
MIT
Install
npm install angular-http-cache@1.2.1

Documentation

angular-http-cache

An opinionated AngularJS module that abstracts the standard angular $http module, and adds caching and application wide cache updating notiications. Using this module will greatly reduce the amount of code rewrite you will need to write in your data retrieval services.

Features

  • get
  • fetch
  • create
  • update
  • patch
  • delete

Install

Bower

bower install angular-http-cache --save

NPM

npm install angular-http-cache --save

Usage

Require angular-http-cache

angular.module('app', [
    'angular-http-cache'
]).controller('Ctrl', function(
    $scope,
    $httpCache
){});

Methods

Todos

  • ngdoc Documentation
  • Unit Tests
  • Gulp Tasks

Any contribution will be appreciated.