hunk.code_window: import {bootstrap} from 'angular2/platform/browser';
   import {<%= jsComponentName %>App} from './app/<%= htmlComponentName %>';
   import {ROUTER_PROVIDERS} from 'angular2/router';
  
hunk.labels: keep keep replace keep
hunk.file_path: addon/ng2/blueprints/ng2/files/src/app.ts
hunk.type: replace
file: import {Component} from 'angular2/core';
  import {RouteConfig, ROUTER_DIRECTIVES} from 'angular2/router';
  
  
  @Component({
    selector: '<%= htmlComponentName %>-app',
    providers: [],
    templateUrl: 'app/<%= htmlComponentName %>.html',
    directives: [ROUTER_DIRECTIVES],
    pipes: []
  })
  @RouteConfig([
  
  ])
  export class <%= jsComponentName %>App {
    defaultMeaning: number = 42;
    
    meaningOfLife(meaning?: number) {
      return `The meaning of life is ${meaning || this.defaultMeaning}`;
    }
  }
  