In this lecture, we're going to briefly talk about the main entry file.
Every application has one.
It's the first file in our application to run.
Therefore, it's the most critical file in the entire application.
There are two responsibilities the main entry file has.
First, it needs to load the Angular framework.
Our app won't be able to function correctly without Angular.
The second responsibility is to load our app's code.
It's important we load Angular before loading our app.
The main entry file can be found inside the source directory.
It's called Main.ts.
The code inside this file is already performing the steps for loading Angular and our application.
Regardless, I think it would be a good idea to write the code for this file.
This way, we can genuinely understand why Angular has decided to write this code for us.
Let's empty out the entire file.
Our app will temporarily be broken.
That's to be expected since we removed the entire file.
Let's check out the browser.
The page is completely blank.
Perfect.
In the next lecture, we're going to start rewriting the file to get a better understanding of what's
going on when Angular starts our app.