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

@@ -3,7 +3,7 @@ import { Http } from '@angular/http';
@Component({
selector: 'fetchdata',
template: require('./fetchdata.component.html')
templateUrl: './fetchdata.component.html'
})
export class FetchDataComponent {
public forecasts: WeatherForecast[];