var Articles = App.Collection({
options: {
read: {
url: 'http://your-api.com/articles'
}
}
});
var articles = Articles().read();
Create/Update/Delete operations could be done through the Model. More information here
var Articles = App.Collection({
options: {
read: {
url: 'http://your-api.com/articles'
}
}
});
var articles = Articles().read();
Create/Update/Delete operations could be done through the Model. More information here