Using html file as template for component in angular 2

I think that if you want to pass a template, you should use

templateUrl: 'home/home.html'

That should make an http request and load the html into your component.

Leave a Comment