title: Invoke function from div with angularJS parameter
body: <p>Below I'm attempting to convert millisecond to javascript date : </p>
  
  <pre><code>&lt;div ng-app&gt;
    &lt;div ng-controller="TodoCtrl"&gt;
      &lt;div&gt;
          &lt;script type="text/javascript"&gt;
              parseDate({{test}})
          &lt;/script&gt;
        &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
  function TodoCtrl($scope) {
    $scope.test = "1429831430363"
  }
  
  function parseDate(date) {
      var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
                    'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
  
      return months[date.getUTCMonth()] + ' ' + date.getUTCDate();
  }
  </code></pre>
  
  <p><a href="http://jsfiddle.net/U3pVM/15141/" rel="nofollow">http://jsfiddle.net/U3pVM/15141/</a></p>
  
  <p>But error <code>Uncaught SyntaxError: Unexpected token {</code> is thrown on console.</p>
  
  <p>What is correct method of invoking function from div with angularJS parameter ?</p>