Is there anyway to detect removed character from a text using ngModel
in Angular 2 ?
I want something like:
Original text: @Hello World !
Modified text : Hello World !
Console.log
Removed character: '@'
I've found a cool example on Javascript with Jquery by Arie Xiao below:
https://stackoverflow.com/a/17005983/5668956
But I wonder if I can use another thing beside Jquery, as I find that Jquery is pretty hard to implement in Angular 2