title: Dart One page app: routing without AngularDart
body: <p>I want to try create a singular page app. On Dart website explain only routing with AngularDart. Honestly if use Dart with AngularDart, it's better use simply Angular without dart.</p>
  
  <p>So I try to create this one page app with</p>
  
  <p><strong>HttpRequest Class</strong></p>
  
  <pre><code>button.onClick.listen((e){
      HttpRequest.getString("test.html").then((html){
        querySelector(".container").innerHtml = html;
      });
    });
  </code></pre>
  
  <p>In my test.html I write only <code>&lt;h1&gt;test page&lt;/h1&gt;</code>
  That's work!!! But how do modify url? I try with History class (like javascript) and work fine: my website from <strong><em>www.mysite.com</em></strong>, become <strong><em>www.mysite.com/test</em></strong></p>
  
  <p>But if I insert <strong><em>www.mysite.com/test</em></strong> in url input of browser give me 404 Error.</p>
  
  <p>Route package for dart it's  discontinued since 5 years. (<a href="https://github.com/justinfagnani/route" rel="nofollow noreferrer">https://github.com/justinfagnani/route</a>)</p>