title: Ember.js Error in specifying URL type of location='history' in App.Route
body: <p>I have started learning the ember.js framework and I am stuck at how to use the setting of the URL type feature that the framework has.</p>
  
  <p><a href="http://emberjs.com/guides/routing/specifying-the-location-api/" rel="nofollow">http://emberjs.com/guides/routing/specifying-the-location-api/</a></p>
  
  <p>I have this simple application.js</p>
  
  <pre><code>App = Ember.Application.create();
  
  App.Router.reopen({
      location: 'history'
  });
  
  App.Router.map(function () {
      this.route('about');
  });
  
  App.ApplicationRoute = Ember.Route.extend({
  
      model: function () {
          return appdata;
      }
  });
  
  App.IndexRoute = Ember.Route.extend({
      setupController: function (controller) {
          // Set the IndexController's `title`
          controller.set('indextitle', "My Index title");
      },
      renderTemplate: function () {
          this.render({ outlet: 'indexoutlet' });
      }
  });
  
  App.AboutRoute = Ember.Route.extend({
      model: function () {
          return appdata;
      },
      renderTemplate: function () {
          this.render({ outlet: 'aboutoutlet' });
      }
  });
  
  var appdata = { mytext: '', theplaceholder: 'Enter new text', attr:'Yeap!' }
  </code></pre>
  
  <p>If I don't use the </p>
  
  <pre><code>App.Router.reopen({
      location: 'history'
  });
  </code></pre>
  
  <p>the application works fine and it goes to the 'about' route by appending the URL the '~/EmberjsTest.aspx#/about' as it supposed to do.</p>
  
  <p>However because I do not like the hash symbol in the URL of the page, I would prefer if it was removed and to do that the guide says we should put this code:</p>
  
  <pre><code>App.Router.reopen({
      location: 'history'
  });
  </code></pre>
  
  <p>But when I do it I get an error in the Chrome console saying:
  'Assertion failed: The URL '/EmberjsTest.aspx' did match any routes in your application'</p>
  
  <p>What am I doing wrong?</p>
  
  <p>Thanks in advance</p>