Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9072441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:10:04+00:00 2026-06-16T18:10:04+00:00

I am trying to learn Ember using the docs here: http://emberjs.com/guides/templates/handlebars-basics/ I am following

  • 0

I am trying to learn Ember using the docs here: http://emberjs.com/guides/templates/handlebars-basics/

I am following the example given on that link and accordingly have the following two files and contents and nothing else. However, when I go the browser and open index.html I do not see Hello World. The World part does not show up. However, according to what is explained near the bottom of that page, World should show up on the page.

Any help in understanding why this is not working would be great. Thanks!

index.html

<h2>First Ember Application</h2>

<script type="text/x-handlebars">
    Hello {{name}}.
</script>


  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
  <script src="http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.rc.1/handlebars.min.js"></script>
  <script src="http://cdnjs.cloudflare.com/ajax/libs/ember.js/1.0.0-pre.2/ember-1.0.0-pre.2.min.js"></script>
  <script src="app.js"></script>
</body>

</html>

app.js

window.App = Ember.Application.create();

App.ApplicationController = Ember.Controller.extend({
    name: "World"
});
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T18:10:06+00:00Added an answer on June 16, 2026 at 6:10 pm

    you would need an Ember.View to pass variables into and connect with the template. You could set the Context of the controller and have the view use this as its contents, but for your simple example:

    window.App = Ember.Application.create();
    
    App.ApplicationController = Ember.Controller.extend({});
    
    App.ApplicationView = Ember.View.extend({
      templateName : 'application',
      name: 'World'
    })
    

    Its worth noting that Ember will look for a set of View, Controller and template with the ‘application’ naming convention.
    Here is a link to the full fiddle http://jsfiddle.net/gNKJj/1/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to work through this tutorial to learn ember - http://www.tuanleaded.com/blog/2012/04/getting-started-with-ember-js-the-missing-to-dos-manual/ I have
I was trying learn lex and yacc using the oreilly book. I tried following
Trying to learn boost spirit and the example given in the docs have me
Trying to learn some geospatial python. More or less following the class notes here
Trying to learn how to use Data.Binary and hit a roadblock here: http://www.haskell.org/haskellwiki/Serialisation_and_compression_with_Data_Binary D:\Projects\haskell\serialize\ex1.hs:114:26:
Trying to learn HTML5 and downloaded a test project https://github.com/amiklosi/Comicr . There is a
Trying to learn some F# and I've run into a couple of hangups. Here's
I am trying to learn OpenGL on the iPhone using the Super Bible but
I trying to learn web application development. I'm currently using Google App Engine to
im trying to learn how to use javascript objects, and got some issue here.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.