Angular Component Structure
The src/app folder will contain the main component, created automatically when the project is created. It will have the following file structure:
- /src/app/
- app.component.html
- app.component.css
- app.component.ts
The file app.component.html will contain the layout of our component.
The app.component.css file will contain our component styles. The file extension depends on the settings made when creating the project.
The app.component.ts file will contain the TypeScript code you write for our component's functionality.
We will look at working with these files in more detail in the following lessons.