Skip to content

Commit

Permalink
Merge 1cb2238 into c4ac69f
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonvilla21 committed Jun 27, 2017
2 parents c4ac69f + 1cb2238 commit 497aefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/synchronized-arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ var app = angular.module("sampleApp", ["firebase"]);
app.factory("chatMessages", ["$firebaseArray",
function($firebaseArray) {
// create a reference to the database where we will store our data
var ref = firebase.database().ref();
var ref = firebase.database().ref().child("messages");

return $firebaseArray(ref);
}
Expand Down

0 comments on commit 497aefd

Please sign in to comment.