title: Angular 2 aot build - require issue
body: <p>When building my application aot via angular-cli </p>
  
  <p>i.e. <strong>(ng build --aot --prod)</strong></p>
  
  <p>I am receiving the following error:</p>
  
  <pre><code>..app&gt;ng build --prod --aot
  10% building modules 2/2 modules 0 active Error encountered 
  resolving symbol values statically. Calling function 'require',
  function calls are not supported. Consider replacing the function
  or lambda with a reference to an exported function, resolving symbol
  appComponent in ..app.component.ts, resolving symbol AppComponent 
  in ..app.component.ts
  </code></pre>
  
  <p>My component looks like:</p>
  
  <pre><code>@Component({
  selector: 'app-component',
  template: `
   ...
  &lt;div class="centered"&gt;
      &lt;img [src]="logo"&gt;
  &lt;/div&gt;
  ....
  `,
  styles: [require('./app-component.component.css')]
  })
  
  export class LoginComponent {
  
  private logo = require('./logo.png');
  ...
  }
  </code></pre>
  
  <p>Is there any workaround available?</p>