assisrafael/angular-input-masks — pull request #16 by scardine (2014-11-03 13:37:42+00:00)
Title: Make sure typeof value=="number" before calling value.toFixed

In some cases ng-model may initially contain a string value, in this case `"0.00".toFixed(2)` will raise "TypeError: undefined is not a function".