For example, "required."
Rails chokes on any attempt to add the attribute thus:
<%= f.email_field :email, :"ng-model" => "whatever", :class => "form-control input-lg", :"required" %>
For example, "required."
Rails chokes on any attempt to add the attribute thus:
<%= f.email_field :email, :"ng-model" => "whatever", :class => "form-control input-lg", :"required" %>
Just use boolean values:
<%= f.email_field :email, :"ng-model" => "whatever", :class => "form-control input-lg", :"required" => true %>
You must do the same as you do with class, add html_attribute => value
<%= f.email_field :email, :"ng-model" => "whatever", :class => "form-control input-lg", :"required" => true %>