In this exercise...
You will practice listening to events in an Angular Application
- Listen to the click event on the year and rating displayed data and log out to the console
- Bonus Challenge: Change to use a single event handler, and display the text that was clicked (hint, see the innerText property)
Click here to go to the exercise: https://stackblitz.com/fork/angular-zaoxk4?file=src%2Fapp%2Fapp.component.ts