title: Angular.js integration with Ruby On Rails Forms
body: <p>Using angular.js often items like ng-click or ng-model are written directly in the html form element like so....</p>
  
  <pre><code>&lt;input type="text" ng-model="name"&gt;
  </code></pre>
  
  <p>How would I do that with rails?  As rails uses embedded ruby and generates the html....</p>
  
  <pre><code>&lt;%= form_for(@user) do |f| %&gt;
  &lt;%= f.label :name %&gt;
  &lt;%= f.text_field :name %&gt;
  </code></pre>
  
  <p>How would I add the ng-model to &lt;%= f.text_field :name %> ?</p>