Templates

Templates are just regular HTML files, though supercharged with interpolation and directives. The following is the current content of app.component.html, which is the template for AppComponent:

<div style="text-align:center">    <h1>  Welcome to {{title}}!!  </h1>    <img width="300" src="..."> </div> <h2>Here are some links to help you start: </h2> <ul>    <li>  <h2><a target="_blank" href="https://angular.io/tutorial">Tour of Heroes</a></h2>  </li>    <li>  <h2><a target="_blank" href="https://github.com/angular/angular-cli/wiki">CLI Documentation</a></h2>  </li>    <li>  <h2><a target="_blank" href="http://angularjs.blogspot.ca/">Angular blog</a></h2>  </li> </ul>  

As you can see, it's just the usual HTML. One thing might seem unfamiliar, ...

Get TypeScript 2.x for Angular Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.