title: AngularJs - Pass angular argument to file twig
body: <p>How can I pass an Angular item to twig file included?</p>
  
  <p>This is my twig file that I want to include:</p>
  
  <pre><code>&lt;a href="javascript:void(0)" title="[{ hostess.gender == 'F' ? 'Hostess top' : 'Steward top' }]"&gt;
      &lt;img src="{{ WBASE }}/assets/img/badge/top-profile.png" class="c-badge [{ extraClass }]"/&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>Instead this is my twig file where I render data through angular loop. I need to include a twig file if the condition is true:</p>
  
  <pre><code>{% if hostess.top %}
      {% include '_commons/elements/ng-badge-top.twig' with {'hostess': hostess} %}
  {% endif %}
  </code></pre>
  
  <p>But it doesn't work. How can I do it?</p>