title: Sum total of a column with a calculated expression inside Angularjs
body: <p>this is my code with angularjs:</p>
  
  <pre><code>&lt;table ng-controller="SimulateController"&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;Product&lt;/th&gt;
          &lt;th&gt;Quantity&lt;/th&gt;
          &lt;th&gt;Price&lt;/th&gt;
          &lt;th&gt;Total Price&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tr ng-repeat="item in items"&gt;
      &lt;td&gt;{{item.name}}&lt;/td&gt;
      &lt;td&gt;&lt;input ng-model="item.quantity" /&gt;&lt;/td&gt;
      &lt;td&gt;{{item.price}}&lt;/td&gt;
      &lt;td&gt;{{item.quantity * item.price}}&lt;/td&gt;
  &lt;/tr&gt;
  
  &lt;tfoot&gt;
      &lt;tr&gt;
          &lt;th&gt;&lt;/th&gt;
          &lt;th&gt;&lt;/th&gt;
          &lt;th&gt;&lt;/th&gt;
          &lt;th&gt;&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/tfoot&gt;
  </code></pre>
  
  <p></p>
  
  <p>And i need something like this, to obtain the sum of total price column:</p>
  
  <pre><code>&lt;tfoot&gt;
      &lt;tr&gt;
          &lt;th&gt;&lt;/th&gt;
          &lt;th&gt;&lt;/th&gt;
          &lt;th&gt;&lt;/th&gt;
          &lt;th&gt;totalsum{{item.quantity * item.price}}&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/tfoot&gt;
  </code></pre>
  
  <p>How do i get this?, despite of looking for other topics, i couldnt find anything related to calculated expressions, thanks.</p>