I'm currently working in a logic that should change all prices in a view according to the user selected currency (dls, eur, brl), I was wondering about if it is possible to get all the elements in a view in where the "currency" filter get's applied. e.g.
<div>
{{ somePrice | currency }}
{{ anotherPrice | currency }}
{{ vacationTicketCost | currency }}
</div>
and in the controller do some magic that ends up with an array like
var pricesArray = [somePrice, anotherPrice, vacationTicketCost];
so that in that way I would be able to apply the currency change to all the values. Is that possible or should I look for another approach ?
Regards.