Templates combines the Angular markup and HTML tags which can helps to modify the data before displaying on browser. Template contains the Design logic (in HTML) of program written in component to format and augment the application before displaying.
The page display can be defined internally — by template: and a piece of code, or externally — by templateUrl: and a directory to the compatible .html file.