locations. For example, an 'item' referencing the name of the box the item
is in.
On the item record I have the boxId and I have in the past setup a custom
object that the firebase array used and overrode the $$added, $$updated
calls to reference the customer ItemObject which had its own decorator
functions to retrieve the referenced data.
I have recently been exploring the $$defaults feature as an alternate
approach. Having to setup a custom object each time and manage $$added,
$$updated as well as the construction of the custom object itself is quite
an overhead. The $$defaults makes it very simple to add static data and
from what i can see I can also use this to add functions to the object.
However, I can't seem to work out a way to then use this to extract data
from other firebase locations to decorate the object with further
properties.
Is the $$defaults a good thing to use for this or am I wasting my time
looking at this?
--
You received this message because you are subscribed to the Google Groups "Firebase + AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-angular+unsubscribe@googlegroups.com.
To post to this group, send email to firebase-angular@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-angular/c9715486-0bb7-40ee-8d4e-7daf152be8e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.