Firebase: Push to list embedded in an object with AngularFire2
<p>I'm trying to figure out how to append values to a list in a Firebase object using AngularFire2. The use case is the creation of a simple scoreboard where the score is saved every time it changes by pushing the following <code>Score</code> object to a list:</p>

<pre><code>{
    points: [15, 11],
    sets: [2, 1],
    timestamp: new Date()
}
</code></pre>

<p>A <code>Scoreboard</code> object in the database then looks as follows:</p>

<pre><code>{
    event: 'Volleybal',
    home: 'Londen',
    away: 'Manchester',
    scores: [Score]
}
</code></pre>

<p>Where the <code>scores</code> array is an array of <code>Score</code> objects as described above. I need to be able to perform two tasks:</p>

<ol>
<li>Query the <code>Scoreboard</code> list in the Firebase database to obtain the correct event (assuming the event is unique).</li>
<li>Update the <code>scores</code> array by pushing new <code>Score</code> objects every time the score changes.</li>
</ol>

<p>Is this the right schema design and how can I perform these tasks using AngularFire2? </p>