What is a template in Angular7?

A template is a HTML view where you display your data by binding controls to Angular component’s properties. You can store your component’s template in one of two places. You can define it inline using the template property, or you can define the template in a separate HTML file and link to it in the component metadata using the @Component decorator’s templateUrl property.