title: AngularJS function result as input value in mandrill EmailController
body: <p>I started a new question because although the last question was answered successfully it has brought about new issues that i cant seem to fix..</p>
  
  <p>i have two factory functions in OrderFunctions</p>
  
  <pre><code>total(menu)
  </code></pre>
  
  <p>and</p>
  
  <pre><code>totalOrder()
  </code></pre>
  
  <p>in the app these functions work great however when i try to submit the order form using mandrill in my EmailController. the calculated results are not sent. apart from this it has also seemed to effect the showAlert() function on successful send.</p>
  
  <p>anyway as previously requested here is a plunkr</p>
  
  <p>so the EmailController is in controller.js and you can see the html markup  in the order.html</p>
  
  <p>thanks for looking</p>