From the course: Angular: Building an Interface

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Customizing an application

Customizing an application - Angular Tutorial

From the course: Angular: Building an Interface

Start my 1-month free trial

Customizing an application

- [Narrator] So let me show you how this app component file works, and what you can do to customize what you see in the application. As I mentioned before, the selector here is a reference to in the index.html file, there is a tag that's going to be replaced by this app, and this template URL refers to this HTML document. So you could customize things by editing this HTML document, however you can really just type in regular HTML here, instead of using template URL if you just say template, then whatever you type in here, so lets try like, h1 and type in welcome and this should replace the entire page with just whatever is in here. And if you want it to display this title, then we could use double curly braces here and put in the variable name, so if we do that then it'll replace that with angular interface, we can change that to whatever we want to here, and if we have, the angi surf command running, which I do on my terminal, you should see this browser update automatically. Now if…

Contents