﻿import { Component } from '@angular/core';

@Component({
    selector: 'my-app',
    moduleId: module.id,
    templateUrl: 'app.template.html'
})
export class AppComponent { }
﻿import { Component } from '@angular/core';
import template from './app.template.html';

@Component({
    selector: 'my-app',
    moduleId: module.id,
    template: template
})
export class AppComponent { }
Use import for app template
Use import for app template
