Sha256: ff69ecdbdd5da7052d5900513d20d42b81efdce54c7f92772603a8a1a156ed3e

Contents?: true

Size: 889 Bytes

Versions: 1

Compression:

Stored size: 889 Bytes

Contents

<div id="data-binding-div" ng-bind="<%= @model.bind(:name) %>"></div>
<div id="bind-service-div" ng-bind="<%= service(:hello_world, @model.bind(:name)) %>"></div>
<div id="bind-div" ng-bind="<%= bind(:hello, :world) %>"></div>

<%= directive(:big_hello_world, html: { id: "directive-div" }) do %>
  <%= directive(:nested_directive, name: @model.bind(:name), html: { tag: 'h1' }) %>
<% end %>

<div id="model-bind">
  <label for="input">Input</label>
  <input id="input" name="input" type="text" ng-model="<%= @model.bind(:name) %>" />
</div>

<div id="bind-bind">
  <label for="bind">Bind</label>
  <input id="bind" name="bind" type="text" ng-model="<%= bind(:hello, :world) %>" />
</div>

<%# Rails bug with form_for and simple delegator. %>
<%# Add this here to test the work around. %>
<%= form_for @model, url: '' do |f| %>
  <%= f.label :name %>
  <%= f.text_field :name %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
angular_sprinkles-0.1.1 spec/dummy/app/views/test/new.html.erb