Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
  <script src="http://code.jquery.com/jquery-2.1.1.js"></script>
  <script src="http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.3.0/handlebars.js"></script>
  <script src="http://cdnjs.cloudflare.com/ajax/libs/ember.js/1.8.1/ember.js"></script>
</head>
<body>
  <script type="text/x-handlebars" data-template-name="application">
    <h1>Testing Ember 1.8.1</h1>
    {{#with model as "bar"}}
      <label {{bind-attr for="view.inputField.elementId"}}>My Label</label><br/>
      {{input type="text" viewName="inputField" valueBinding="bar"}}<br/><br/>
      The id for the input field is {{view.inputField.elementId}}
    {{/with}}
  </script>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
shawnampro
0viewers