Now that we've taken care of the game's logic with a service, it's time to end our little project with a couple more components!







The Hint component


But first, let's create a simple component to display the current hint to the user: create the file /components/hint.ts.



import { Component } from '@angular/core';

@Component({
...