I'm trying to implement a "character countdown" in Angular 2 on an input element, similar to how Twitter enforces the 140 character limit and updates the user in real time. I'd like to show the user how many characters they have left in real-time, so as the user types into the input, the character countdown updates and, ultimately will reach "0" as the user continues to type.
I understand how to enforce the "maxlength" on the input element, but I'm requesting guidance on how to implement the countdown. This is a similar request to the Angular 1 post here: angularjs text area character counter
Is jQuery necessary here, or is there an "Angular 2 way" through binding that would work?