<% flash.each do |name, msg| %>
  <% if msg.is_a?(String) %>
    <div ng-non-bindable class="alert alert-<%= name == :notice ? "success" : "error" %>">
      <a class="close" data-dismiss="alert">&#215;</a>
      <%= content_tag :div, msg, :id => "flash_#{name}" %>
    </div>
  <% end %>
<% end %>

<% flash.each do |name, msg| %>
  <% if msg.is_a?(String) %>
    <div ng-non-bindable class="alert alert-<%= name == "notice" ? "success" : "danger" %>">
      <a class="close" data-dismiss="alert">&#215;</a>
      <%= content_tag :div, msg, :id => "flash_#{name}" %>
    </div>
  <% end %>
<% end %>

Fix the way that Bootstrap errors are rendered
Fix the way that Bootstrap errors are rendered

* In Bootstrap 3, the -danger suffix is used, not -error.
* The name parameter is a string, so the symbol comparison was failing.
