import { Component } from '@angular/core'; const gettingStarted = require('html-loader!markdown-loader!../getting-started.md'); @Component({ selector: 'app', template: ` Loading header

ng2-charts

Angular2 directives for Chart.js

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