From the course: Angular: Building an Interface

Unlock the full course today

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

Understanding the sample application

Understanding the sample application - Angular Tutorial

From the course: Angular: Building an Interface

Start my 1-month free trial

Understanding the sample application

- [Instructor] We're continuing our conversation about how Angular works and we're going to explore how the project loads and processes so to do that, the first thing you should look at is this angular.json file which we touched on in the previous video. What you need to know about this file is it identifies where things are supposed to go. So for example you'll notice that the sourceRoot folder is the defined right here, and you can see that there is a prefix as well as an option for what happens when you issue the build, or the serve command. It tells you where things are placed what the file names are supposed to be. Now I'm mentioning this just so you know that if you want to sort of modify the structure of your Angular project you start off be redefining what the defaults are. So if you don't want the source folder to be called src then you could just rename this section right here called sourceRoot and what you'll find from reading this is that the things that it loads, are…

Contents