Skip to content

mifkata/ng-data-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ng-data-service Build Status

Custom wrapper for Angular $http that queues and caches response data in localStorage. AngularJS presentational demo code.

Install and Test

npm install --save https://github.com/clickbuster/ng-data-service.git
cd node_modules/ng-data-service
npm test

Usage

Loading is a bit rough, with angular being injected, but, it's because there's no proper build script for this app.

const angular = require('angular');
const NgDataService = require('ng-data-service')(angular);

const myApp = angular.module('my-app', ['ng-data-service']);

About

Angular JS HTTP request wrapper with request cache

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published