title: Currency format in google charts vs angular
body: <p>I'm trying to add currency format in google charts and angularjs</p>
  
  <p><a href="https://stackoverflow.com/questions/10688225/google-charts-display-money-not-percentages">Google charts display Money not Percentages</a></p>
  
  <blockquote>
    <p>var formatter = new google.visualization.NumberFormat({
        prefix: '$' }); formatter.format(data, 1);</p>
    
    <p>var options = {
        pieSliceText: 'value' };</p>
  </blockquote>
  
  <p>how to add above code in the function below ?</p>
  
  <pre><code>    $scope.jkchart = function(){
      $scope.chartObject = {};
  
      $scope.chartObject.data = {"cols": [
          {id: "t", label: "Topping", type: "string"},
          {id: "s", label: "Slices", type: "number"}
      ], "rows": [
          {c: [
              {v: "Mushrooms"},
              {v: 3},
          ]},
          {c: [
              {v: "Olives"},
              {v: 31}
          ]},
          {c: [
              {v: "Zucchini"},
              {v: 5},
          ]}
      ]};
      $scope.chartObject.type = "PieChart";
      $scope.chartObject.options = {
          'title': 'How Much Pizza I Ate Last Night'
      };
    };
  </code></pre>