I tried to access a custom built html using templateUrl in Angular2.
Here is my login.component.ts
import {Component} from \'@angular/core\'; @Comp
Use this:
template: require('./login.component.html')