Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 585 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 585 Bytes

angular-soil

AngularJS modules with a model and collection base. Tailored specifically to development with Ruby on Rails.

Dependencies

soilCollection

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)
    // ...
])