import { Component } from '@angular/core'; // eslint-disable-next-line @typescript-eslint/no-var-requires const gettingStarted = require('html-loader!markdown-loader!../getting-started.md'); @Component({ selector: 'app', template: `

ng2-file-upload

The Angular2 File Upload directives

View on GitHub

` }) export class AppComponent { public gettingStarted:string = gettingStarted; public ngAfterContentInit(): any { setTimeout(()=>{ if (typeof PR !== 'undefined') { // google code-prettify PR.prettyPrint(); } }, 150); } }