title: How to calculate a value using checkboxes and Angular?
body: <p>I'm trying to do something like this:</p>
  
  <pre><code>&lt;form name="myForm" ng-controller="Ctrl"&gt;
        Value1: &lt;input type="checkbox" ng-number="100"&gt; &lt;br/&gt;
        Value2: &lt;input type="checkbox" ng-number="250"
  
        add 5% to the total sum of the checked boxes: &lt;input type="checkbox" ng-percent=".05"
       &lt;br/&gt;
  
       total value = {{how do you do this?}}
   &lt;/form&gt;
  </code></pre>
  
  <p>So if Value1 is checked the total value is "100", if both values are checked then "350", or if the "add 5%" is also checked then: total value = ({{total sum}} + ({{total sum}} * .05))</p>
  
  <p>I can do this with jQuery but I'm having trouble wrapping my head around how to do it the 'Angular' way.  </p>