How to use $firebaseArray in firebase return data in AngularJS -


i want retrieve data firbase condition this

ref.orderbychild('users').equalto(userid).on('value', function(snapshot) {     // need return data firebasearray here }); 

$firebasearray useful when want show data on view. don't know how return snapshot there.

please me ! (bow)

a $firebasearray can take in ref or query.

var query = ref.orderbychild('users').equalto(userid); var syncarray = $firebasearray(query); 

the array function handles child events , keeps array in sync remote server changes.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -