I want to apply currency format in my amount field when user move to the another field then amount value will transform into currency format and when control focused then currency format will be removed.
I have tried with hostlistner to bind the event onblur and onfocus event in custom directive, But I want without creating custom directive?
This is my HTML code.
<input type="text" formControlName="amount" />
Is it possible without creating custom directive?