title: Passing a twig variable to an Angular controller
body: <p>I'm using Angular and Twig. Is there a way I can call an Angular function called initItems in my html like inside a  </p>
  
  <pre><code>{% for post in posts%} //twig
      &lt;% verbatim %&gt;
         {{initItems(post)}}  //angular
      &lt;% endverbatim %&gt;
  {% endfor %}
  </code></pre>
  
  <p>when post is a twig variable? Inside my initItems function in my controller, post is showing up as undefined.</p>