In AngularJs currency filter formats negative numbers with parenthesis. Here I am using Angular 2 currency pipe, it doesn't format the negative number into parenthesis.
It just shows plain -$18.00
but I want to show like this ($18.00)
. How can I achieve this.
{{ -18 | currency }}
the result i want is ($18.00)
instead of -$18.00