Skip to content

Instantly share code, notes, and snippets.

@basham basham/terms-service.js
Last active Aug 29, 2015

Embed
What would you like to do?
Demonstrating how JSON fixtures get replaced by endpoints, in the Kuali Student Course Registration proof of concept.
'use strict';
angular.module('kscrPocApp')
.factory('termsService', function ($resource, apiService) {
return $resource(apiService.get('terms'), {}, {
query: {
method: 'GET',
cache: true,
isArray: true
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.