title: Custom attributes for Flask WTForms
body: <p>I develop website on Flask and AngularJS. I need to send a form whith AJAX using AngularJS but it requires a custom attribute for input field. For example I have a form in Jinja2 template:</p>
  
  <pre><code>&lt;form method="post" action="/"&gt;
      {{ form.hidden_tag() }}
      {{ form.name(placeholder="Name") }}
  &lt;/form&gt;
  </code></pre>
  
  <p>So how can I add an attribute from AngularJS lets say "ng-model" for my "name" field?</p>
  
  <p>Thanks for your help!</p>