i'm learning AngularJS and in the tutorial i'm following we had to use the currency filter, i noticed that this changes, for example 10, into $10.00.
How do i do this for English pounds?
<p class="price">{{ product.price | currency }}</p>
angular currency filter take one optionnal parameter and it's the currency symbol.
With this information, your snippet will look like this :
<p class="price">{{product.price|currency:"£"}}</p>
Hope it's help
You can add you symbol and fractionSize like this:
{{ currency_expression | currency : symbol : fractionSize}}
for now your solution is:
<p class="price">{{ price | currency : '£'}}</p>
More detail here