Skip to content

Instantly share code, notes, and snippets.

@codenamejason
Created March 6, 2015 02:16
Show Gist options
  • Save codenamejason/839ccd5500c342d08213 to your computer and use it in GitHub Desktop.
Save codenamejason/839ccd5500c342d08213 to your computer and use it in GitHub Desktop.
AngularJS for Loopback ad-hoc queries
$scope.products = MyProduct.find({
filter: {
where: {price: {lt: 100}},
order: 'price ASC',
limit: 3
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment