Presently, I can use only html template in angular cli component.
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'app';
}
I am using angular CLI in ASP.NET core MVC application. Can I use views from from MVC application as template to the angular template like below:
templateUrl: './Template/Index',
Currently it seems it doesn't work as the time of building angular app it is not able to resolve the template. Because it doesn't exist.
I am just exploring if it is possible.