function AngularFireItem(factory, snap, index) {
            this.$ref = snap.ref().ref();
            this.$id = snap.name();
            this.$index = index;
            this.$priority = snap.getPriority();
            angular.extend(this, factory(snap));
         }
/**
          * The default object for representing a data item in the Collection. This can be overridden by
          * setting opts.factory.
          *
          * @param {Path} path
          * @param {Firebase} ref
          * @param priority
          * @param {int} index
          * @constructor
          */
The default object for representing a data item in the Collection. This can be overridden by
setting opts.factory.


The default object for representing a data item in the Collection . This can be overridden by setting opts . factory .
function AngularFireItem(factory, snap, index) {
            this.$ref = snap.ref().ref();
            this.$id = snap.name();
            this.$index = index;
            this.$priority = snap.getPriority();
            angular.extend(this, factory(snap));
         }
function AngularFireItem ( factory , snap , index ) { this . $ref = snap . ref ( ) . ref ( ) ; this . $id = snap . name ( ) ; this . $index = index ; this . $priority = snap . getPriority ( ) ; angular . extend ( this , factory ( snap ) ) ; }
The default object for representing a data item in the Collection.
The default object for representing a data item in the Collection .