jt-resource-factory
v0.3.5
Published
API Resource factory using Angular's $http with support for cache and useful properties like $promise, $networkPromise, $resolved etc.
Downloads
2
Readme
jt-resource-factory
API Resource factory using Angular's $http with support for cache and useful properties like $promise, $networkPromise, $resolved etc.
How to use?
Run
bower install --save jt-resource-factory
.Add those files to your index.html:
bower_components/DeferredWithMultipleUpdates.js/lib/deferred-with-multiple-updates.js
bower_components/jt-resource-factory/dist/jt-resource-factory.js
or
bower_components/jt-resource-factory/dist/jt-resource-factory.min.js
Include
jt-resource-factory
to your angular.module dependencies, f.e.angular.module("APP_NAME", ["jt-resource-factory"])
.Use the
jtResourceFactory
factory! =)
Documentation
See src/jt-resource-factory.coffee
.