Currently, I am utilizing AngularFire for a specific project. The structure of my firebase Object is as follows:
{
mainKey: {
key1:value1,
key2:value2
},
mainkey2: {
key3:value3
}
}
The data has been inputted in a manner that necessitates displaying both the value
and the key
in separate columns of a table row.
While I can successfully display the value
using the {{key}}
expression, I am unsure about how to go about displaying the actual key
.
I am starting to question whether storing data in this format is considered best practice or not.