I just need to put a custom path in templateURL
@Component({
selector: 'hero-detail',
templateUrl: BASE_TEMPLATE_PATH + 'hero-detail.component.html',
styleUrls: ['hero-detail.component.css']
})
I tried a lot of things indicated in this post
Angular2 how to set templateUrl base path
but no one worked for me, tried many times to implement something from that pot but no success, and the post don't have enough information where put the variables, can you guys give some light ?