Skip to content

Instantly share code, notes, and snippets.

View JustinTArthur's full-sized avatar

Justin Turner Arthur JustinTArthur

View GitHub Profile
app.js:
var app = angular.module('app', ['appControllers', 'appServices']);
services.js:
var services = angular.module('appServices', ['djangoRESTResources']);
services.factory('Team', ['djResource',
...
]);
// Or if you still need $resource to communicate with a different backend: