no this code is not working in angular 8
getting error on this line ```
var r = document.selection.createRange().duplicate()
Property ‘selection’ does not exist on type ‘Document’. this error i am getting how to fix
item.Amount is the variable i am using in ngModel