从Firebase获取数据时我遇到了这个问题:
FIREBASE WARNING: Using an unspecified index. Consider adding ".indexOn": "mobile" at /accounts to your security rules for better performance
var ref = new Firebase("https://lxxxxxxx-c7797.firebaseio.com/accounts");
ref.orderByChild("mobile").equalTo($scope.mobile).on("child_added", function (snapshot) {
//console.log(snapshot.key());
$scope.nodeId = snapshot.key();
$scope.name = snapshot.val().name;
$scope.mobile = snapshot.val().mobile;
});