theseus-angular

0.3.1 • Public • Published

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();
}]);

Package Sidebar

Install

npm i theseus-angular

Weekly Downloads

41

Version

0.3.1

License

Apache-2

Last publish

Collaborators

  • theefer