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".
Merge branch 'scardine-master' into hotfix/1.2.5
Improved PR #16 with a test case and prepareNumberToFormatter function