I am trying to display currency symbol using currency code dynamically.
It's not working. It worked on my older projects. I am not sure what changed in currency filter.
This is my html
<h2>{{8.99 | currency:'USD':true}}</h2>
It should display $. But it is displaying USD.
I also tried in controller. It is not displaying $.
$filter('currency')(100, "USD", true);
Can anyone tell me what am i missing here?