injected ScenarioPageController service
injected ScenarioService service
injected ChangeDetectorRef service
injected Location service
Empty FromGroup object, used for first mat-stepper page.
Observable that emits the active ScenarioWithResponses object based on the activeScenarioId$ including the responses and stats.
Empty FromGroup object, used for second mat-stepper page.
The MatStepper page element - referenced from the HTML.
The duration of animation for the mat-stepper
goto next randomly selected scenario.
Angular OnInit event
Handler for when a user selects a response option button.
Adds the user's response to the Firestore responses collection using the scenarioService
The text of the response selected by the user
A promise that resolves once Firestore is updated
injected ActivatedRoute service