AngularJS modules with a model and collection base. Tailored specifically to development with Ruby on Rails.
Include the module soil.collection
like this:
angular.module('your-module', ['soil.collection'])
The SoilCollection class can then be injected where required:
angular.module('your-module')
.factory('yourFactory', ['soilCollection', function (soilCollection)
// ...
])