hunk.code_window: import { Component, OnInit } from '@angular/core';
   @Component({
     selector: '<%= selector %>',<% if(inlineTemplate) { %>
     template: `
       <p>
  
hunk.labels: replace keep keep keep keep keep
hunk.after_edit: import { Component, OnInit<% if(viewEncapsulation) { %>, ViewEncapsulation<% }%><% if(changeDetection) { %>, ChangeDetectionStrategy<% }%> } from '@angular/core';
  
hunk.file_path: packages/angular-cli/blueprints/component/files/__path__/__name__.component.ts
hunk.type: replace
file: #!/usr/bin/env node
  'use strict';
  
  // Provide a title to the process in `ps`
  process.title = 'angular-cli';
  
  const resolve = require('resolve');
  const exit = require('exit');
  const packageJson = require('../package.json');
  const Leek = require('leek');
  const Version = require('../upgrade/version').Version;
  
  
  resolve('angular-cli', { basedir: process.cwd() },
    function (error, projectLocalCli) {
      var cli;
      if (error) {
        // If there is an error, resolve could not find the ng-cli
        // library from a package.json. Instead, include it from a relative
        // path to this script file (which is likely a globally installed
        // npm package). Most common cause for hitting this is `ng new`
        cli = require('../lib/cli');
      } else {
        // Verify that package's version.
        Version.assertPostWebpackVersion();
  
        // No error implies a projectLocalCli, which will load whatever
        // version of ng-cli you have installed in a local package.json
        cli = require(projectLocalCli);
      }
  
      if ('default' in cli) {
        cli = cli['default'];
      }
  
      cli({
        cliArgs: process.argv.slice(2),
        inputStream: process.stdin,
        outputStream: process.stdout,
        Leek: CustomLeek
      }).then(function (result) {
        var exitCode = typeof result === 'object' ? result.exitCode : result;
        exit(exitCode);
      });
  
      function CustomLeek(options) {
        options.trackingCode = packageJson.trackingCode;
        options.globalName = packageJson.name;
        options.name = packageJson.name;
        options.version = packageJson.version;
        return new Leek(options);
      }
    });
  