title: dart append data to html on future .then()
body: <p>So i have this code:</p>
  
  <pre class="lang-dart prettyprint-override"><code>import 'dart:html';
  import 'dart:json';
  
  class BaseModel {
    Map values;
    String _url;
    // another basic properties
  
    // constructor defined here
  
    fetch() {
      var el = document.query('#container');
      HttpRequest.getString(_url).then(
        (result) {
          values = new Map.from(parse(result));
          el.innerHtml = values['name'];
          return result;
        })
    }
  }
  
  void main() {
    BaseModel bm = new BaseModel(url: /path/to/test.json);
    bm.fetch();
  }
  </code></pre>
  
  <p>And i have a json data like this:</p>
  
  <pre class="lang-dart prettyprint-override"><code>{
    "name" : "Andrew",
    "age" : 20
  }
  </code></pre>
  
  <p>I expect to see "Andrew" on the DOM, but i see nothing. If i change the </p>
  
  <p><code>el.innerHtml = "SOME_TEXT"</code> </p>
  
  <p>then i can see the "SOME_TEXT" text displayed.</p>
  
  <p>Can you guys help me?</p>