title: No Directive annotation found on TodoApp Server Rendering
body: <p>I'm trying to do server rendering with <code>angular2-universal</code>. I copy paste the example todo app of the official repo <a href="https://github.com/angular/universal/tree/master/examples/src/universal/todo" rel="nofollow">https://github.com/angular/universal/tree/master/examples/src/universal/todo</a> into my own Trails/Express server.</p>
  
  <p>I manage to start my server but when I call <code>http://localhost:3000</code> I have the following error : </p>
  
  <pre><code>Error: No Directive annotation found on TodoApp
      at new BaseException (/Users/jaumard/IdeaProjects/trails-angular2-isomorphic/node_modules/@angular/compiler/src/facade/exceptions.js:17:23)
      at DirectiveResolver.resolve (/Users/jaumard/IdeaProjects/trails-angular2-isomorphic/node_modules/@angular/compiler/src/directive_resolver.js:31:15)
      at CompileMetadataResolver.getDirectiveMetadata (/Users/jaumard/IdeaProjects/trails-angular2-isomorphic/node_modules/@angular/compiler/src/metadata_resolver.js:55:51)
      at RuntimeCompiler.resolveComponent (/Users/jaumard/IdeaProjects/trails-angular2-isomorphic/node_modules/@angular/compiler/src/runtime_compiler.js:34:47)
      at /Users/jaumard/IdeaProjects/trails-angular2-isomorphic/node_modules/@angular/core/src/application_ref.js:99:37
      at /Users/jaumard/IdeaProjects/trails-angular2-isomorphic/node_modules/@angular/core/src/application_ref.js:292:26
      at ZoneDelegate.invoke (/Users/jaumard/IdeaProjects/trails-angular2-isomorphic/node_modules/zone.js/dist/zone-node.js:281:29)
      at Object.NgZoneImpl.inner.inner.fork.onInvoke (/Users/jaumard/IdeaProjects/trails-angular2-isomorphic/node_modules/@angular/core/src/zone/ng_zone_impl.js:45:41)
      at ZoneDelegate.invoke (/Users/jaumard/IdeaProjects/trails-angular2-isomorphic/node_modules/zone.js/dist/zone-node.js:280:35)
      at Zone.run (/Users/jaumard/IdeaProjects/trails-angular2-isomorphic/node_modules/zone.js/dist/zone-node.js:174:44)
      at NgZoneImpl.runInner (/Users/jaumard/IdeaProjects/trails-angular2-isomorphic/node_modules/@angular/core/src/zone/ng_zone_impl.js:76:71)
      at NgZone.run (/Users/jaumard/IdeaProjects/trails-angular2-isomorphic/node_modules/@angular/core/src/zone/ng_zone.js:223:66)
      at ApplicationRef_.run (/Users/jaumard/IdeaProjects/trails-angular2-isomorphic/node_modules/@angular/core/src/application_ref.js:290:14)
      at Object.coreLoadAndBootstrap (/Users/jaumard/IdeaProjects/trails-angular2-isomorphic/node_modules/@angular/core/src/application_ref.js:96:19)
      at /Users/jaumard/IdeaProjects/trails-angular2-isomorphic/node_modules/angular2-universal/dist/node/bootloader.js:186:34
      at Array.map (native)
  </code></pre>
  
  <p>The example of the universal repo is working so I don't understand why it's not working for me. I don't change anything on the angular2 sources.</p>
  
  <p>All my code is here <a href="https://github.com/jaumard/trails-angular2-isomorphic" rel="nofollow">https://github.com/jaumard/trails-angular2-isomorphic</a> with the configuration here <a href="https://github.com/jaumard/trails-angular2-isomorphic/blob/master/api/controllers/ViewController.js#L58" rel="nofollow">https://github.com/jaumard/trails-angular2-isomorphic/blob/master/api/controllers/ViewController.js#L58</a> for the route and here for the template engine <a href="https://github.com/jaumard/trails-angular2-isomorphic/blob/master/config/web.js#L76" rel="nofollow">https://github.com/jaumard/trails-angular2-isomorphic/blob/master/config/web.js#L76</a></p>