Sha256: c58517414fdebc5923a2e9d0a99e8d56586e8d981f2ea535524d42f90d916b99

Contents?: true

Size: 863 Bytes

Versions: 1

Compression:

Stored size: 863 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 |ctrl| %>
  <div id="directive-ctrl-bind" ng-bind="<%= ctrl.bind(:attribute) %>"></div>
  <div id="directive-ctrl-call" ng-bind="<%= ctrl.call(:func, 'func result') %>"></div>

  <%= 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>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
angular_sprinkles-0.2.11 spec/dummy/app/views/test/javascript_bindings.html.erb