Sails Resources Service for AngularJS