This project was generated with Angular CLI version 17.3.5.
Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.
-
Create the project & File structure
- app.component.css => the stylesheet for our component, we put css in this file
- app.component.html => the template for our components, we put html in this file
- app.component.spec.ts => the unit test file, don't touch for now
- app.component.ts => the class for our component, we put TypeScript in this file
-
Displaying data
- Data Binding allows us to use data from our class file inside of our template
- Interpolation Binding {{}} => allows us to display the value of properties inside the template
- Data Binding allows us to use data from our class file inside of our template
-
Components
- ng generate component ./components/pokemon
-
Routing
- app.routes.ts
-
Pipes
- formatting displayed data
-
User input
-
Two-way binding
- passing data from parent to child