Small angularjs directive which provides an input that display and recieves input in the format 10, 23 etc. and sets the given value to corresponding values 0.1, 0.23