diff --git a/addon/ng2/blueprints/component/files/__path__/__name__.component.ts b/addon/ng2/blueprints/component/files/__path__/__name__.component.ts index 91bd38361814..468d4b9de2c3 100644 --- a/addon/ng2/blueprints/component/files/__path__/__name__.component.ts +++ b/addon/ng2/blueprints/component/files/__path__/__name__.component.ts @@ -1,5 +1,4 @@ -import {Component, OnInit} from 'angular2/core';<% if (route) { %> -import {RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS} from 'angular2/router';<% } %> +import {Component, OnInit} from 'angular2/core'; @Component({ moduleId: __moduleName, @@ -7,13 +6,11 @@ import {RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS} from 'angular2/router' template: `
<%= dasherizedModuleName %> Works! -
<% if (route) { %> -