Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0/handlebars.js"></script>
<script src="http://builds.emberjs.com/canary/ember.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <script type="text/x-handlebars">
    {{render "foo" bar}}
    {{outlet}}
  </script>
  <script type="text/x-handlebars" data-template-name="foo">
    <h2>Hello {{controller.foobar}}!</h2>
    <h2>{{model.isBar}}</h2>
    <h2>{{model.notBar}}</h2>
    <h2>{{controller.isBar}}</h2>
    <h2>{{view.isBar}}</h2>
    <h2>{{isBar}}</h2>
  </script>
</body>
</html>
Output

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

Dismiss x
public
Bin info
kingpin2kpro
0viewers