Angular TutorialLesson 4Free preview
Angular First App
This lesson is part of Angular · All levels
Summary
The first Angular application was formed from a root component called AppComponent that was bootstrapped at main.ts. When an application is loaded, Angular renders the AppComponent template into a specific HTML element, such as the <app-root> tag. From here you can add new components with the CLI generator.
Key points
- AppComponent is the root component of any application
- Main.ts call bootstrapApplication to start the app
- The component selector becomes a custom HTML tag in index.html
- Ng generate component accelerates the manufacture of new components
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.