title: Issue with angular dart module initialization
body: <p>I recently upgraded angular dart to the recent version [0.13.0]. From then onward it is becoming very difficult just to initialize the application. I have spent around a week fighting with this. I get this error currently:</p>
  
  <blockquote>
    <p>The built-in library 'dart:html' is not available on the stand-alone
    VM. 'package:angular/application_factory.dart': error: line 19 pos 1:
    library handler failed import 'dart:html'; ^</p>
  </blockquote>
  
  <p>where do I go wrong?</p>
  
  <p>pubspec.yaml</p>
  
  <pre><code>name: abc
  description: A sample web application
  dependencies:
    angular: "0.13.0"
    browser: any
    http_server: any
    route_hierarchical: any
    web_components: any
  transformers:
  - angular
  </code></pre>
  
  
  
  <p>main.dart</p>
  
  <pre class="lang-dart prettyprint-override"><code>import 'package:angular/angular.dart';
  import 'package:angular/application_factory.dart';
  
  import 'package:abc/main_module.dart';
  
  void main()
  {
        applicationFactory()
          .addModule(new MainModule())
          .run();
  }
  </code></pre>
  
  <p>main_module.dart</p>
  
  <pre class="lang-dart prettyprint-override"><code>library abc.main_module;
  
  import 'package:angular/angular.dart';
  import 'package:abc/formatters/capitalize_filter.dart';
  import 'package:abc/components/index_controller.dart';
  import 'package:abc/router.dart';
  
  class MainModule extends Module
  {
      MainModule()
      {
          bind(CapitalizeFilter);
          bind(IndexController);
          bind(RouteInitializerFn, toValue: MainRouteInitializer);
          bind(NgRoutingUsePushState, toFactory: (_) =&gt; new NgRoutingUsePushState.value(false));
      }
  }
  </code></pre>