In Angular2Spa, use angular2-template loader as a step towards AoT compilation. Implements #356

This commit is contained in:
SteveSandersonMS
2016-11-07 13:45:29 -08:00
parent fadcb586c6
commit 11c45321aa
7 changed files with 12 additions and 10 deletions

View File

@@ -2,7 +2,7 @@ import { Component } from '@angular/core';
@Component({
selector: 'counter',
template: require('./counter.component.html')
templateUrl: './counter.component.html'
})
export class CounterComponent {
public currentCount = 0;