Re: [AngularJS] number filter is to inflexible - how to use angular formatNumber

2014-08-30 Thread Mark Volkmann
You can write your own filter that calls formatNumber and do anything you want. --- R. Mark Volkmann Object Computing, Inc. > On Aug 30, 2014, at 6:27 AM, Martin Kuhn wrote: > > Hi, > > I'm not happy with the number filter (which uses angular's internal > formatNumber). Because of the lack of

[AngularJS] number filter is to inflexible - how to use angular formatNumber

2014-08-30 Thread Martin Kuhn
Hi, I'm not happy with the number filter (which uses angular's internal formatNumber). Because of the lack of parameters you can use... (groupSep, decimalSep etc.) I would need to call formatNumber. But it is inaccessible. Can anybody of you give me an hint if it is possible to use formatNumbe