I use a reactive form. My input is binded to a control and to a directive which format the control value (and thus the input value).
At some point I use the method