angular 1.5 filter Error: [$parse:ueoe]

Error: [$parse:ueoe] https:// errors.angularjs.org/1.5.10/ $parse/ueoe?p0=%24ctrl.
cause: missing bracket or in this case brackets for an object passed as a parameter too close to the interpolated brackets
ie – this causes error
{{$ctrl.settings.maxFeeValue | currency:{decimalPlaces:0}}}
this doesn’t cause error
{{$ctrl.settings.maxFeeValue | currency:{decimalPlaces:0} }}
triple bracket causes angular parse error.
{{amount | currency({allowNegative:false})}}
so it needs to be like this (With a space):
{{amount | currency({allowNegative:false} )}}
how strange…
AngularJS 4U

AngularJS 4U

AngularJS 4U is a development blog and Angular Community where you can share your latest ng development tips, articles, demos, plugins, modules and more.

Leave a Reply

Your email address will not be published. Required fields are marked *