We'll create the template for our new page and set everything up so that we can use this page to create new tasks. The first thing we will do is create a BehaviorSubject task variable that we'll store form values in to send to Firebase.
Because we are using the ionic framework we'll lean heavily into this when creating our templates. You'll see how we bind text values to the object we'll send to Firebase as well as a selector component that will use ion-segment
.
We'll also see a tip on handling the async
pipe in a top container in our template so that we don't have to manually add it everywhere we'll render a property from an observable