According to your mistake, it seems that the path to your template in the attribute is templateUrlincorrect.
Note that such paths refer to the project root for the styleUrland attributes templateUrl.
I think you could try something like this:
@Component({
selector: 'http-app',
directives: [
],
templateUrl: "app/app.html",
})
class HttpApp {
}
See this question for more information:
source
share