theseus-angular
v0.3.1
Published
Theseus module for AngularJS
Downloads
166
Maintainers
Readme
Theseus module for AngularJS
AngularJS module wrapping the Theseus API client.
Usage
This adapter is implemented as an ES6 module which can be installed with jspm and loaded via SystemJS as follows:
import 'theseus-angular';
import angular from 'angular';
var mod = angular.module('example', ['theseus']);
mod.factory('exampleFactory', ['theseus.client', function(client) {
var root = client.resource('http://api.example.com');
return root.follow('light').get();
}]);