Working with firebase collections

Hey, I am pretty new to the firebase and angular world. My app that I am trying to make has a section list component which lists the ‘sections’ when you click on a section, it then will then go to section-detail component and display a list of ‘lines’ that correspond to the section selected. The lines are an object that contains name, and notes fields. My first question is how would you structure that in firebase?