Skip to content

argo-rest/theseus-angular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Theseus module for AngularJS

Resources

Stars

Watchers

Forks

Packages

No packages published