title: Angularjs Currency filter, change currency dynamically?
body: <p>I get the currency from the backend in a json object. 
  When I try to show it using the currency filter what comes on screen is the currency code and not the actual currency. </p>
  
  <p>I have used both the html binding method as well as the javascript method.</p>
  
  <pre><code>&lt;span&gt;{{smsData.smsAmount|currency:smsData.currencyCode}}&lt;span&gt;
  </code></pre>
  
  <p>The out put that i get is </p>
  
  <pre><code>&amp;euro;1.00
  </code></pre>
  
  <p>when the expected out put is </p>
  
  <p>&euro;1.00</p>
  
  <p>The same is true with using java script.</p>
  
  <pre><code>$scope.smsData.smsAmount = $filter('currency')($scope.smsData.smsAmount, $scope.smsData.currencyCode);
  </code></pre>
  
  <p>Please tell me how can i set the currency using parameters.</p>