bfanger / angular-activerecord

A model layer for AngularJS inspired by Backbone.Model
MIT License
137 stars 28 forks source link

hey, like this approach... but. #13

Closed rednaxus closed 10 years ago

rednaxus commented 10 years ago

not sure how to do queries without the Collection parameters... Mind explaining a little?

bfanger commented 10 years ago

The ActiveRecord.fetchAll() parameter options is passed to $http

Task.fetchAll({url: '/api/tasks/search', params: {q: 'example'}});