Angular Material Number Input Javascript Code Formatter