I have successfully created a countdown time ticker using Angular 5. My goal is to update the text 'HELLO' every hour until 2 hours from the start time. Specifically, I want the text color to change to green after the first hour interval and then to red after the second hour.
There is a minor issue that I am currently facing. When I set the end date as 19/12/2018, the timer shows negative time after midnight (12 AM) on the same date - 19/12/2018.
You can view my code at the following link:
https://stackblitz.com/edit/angular-d1fqg5?file=src%2Fapp%2Ftime-ticker.component.ts