这是我现在的代码:
var url = 'https://*****.firebaseio.com/photos';
var promise = angularFire(url, $scope, 'photos', {});
promise.then(function() {
//limit here.
});
Run Code Online (Sandbox Code Playgroud)
我可以插入什么代码来限制从firebase返回的内容到只有具有指定优先级的内容(假设优先级为"new")?
谢谢您的帮助.