This slides contain 8 exercises building on each other. The learning objectives focus on Angular basics and features.
Learning objectives:
Application requirements:
Initial branch: exercise/1-project-seed
Git Cheat Sheet
Learning objectives:
Application requirements:
Fallback branch: exercise/2-simple-component
Git Cheat Sheet
Learning objectives:
Application requirements:
Fallback branch: exercise/3-master-details-input
Git Cheat Sheet
Check the result. Every change in an input immediatly changes the corresponding entry in the list. Nice feature, but that's not exactly what we want here
Learning objectives:
Application requirements:
Fallback branch: exercise/4-master-details-output
Git Cheat Sheet
Note: This method will only be called by a component in a later exercise, but should already be implemented here.
Learning objectives:
Application requirements:
Fallback branch: exercise/5-services
Git Cheat Sheet
We prepared a server for you.
Use the following command to start the Angular server with reverse proxy and a server with the REST service:
npm run start
Possible REST calls:
GET /services/rest/movies
GET /services/rest/movies/:id
POST /services/rest/movies
We want to get rid of the movies array in the service and get the data from the server instead
Learning objectives:
Application requirements:
Fallback branch: exercise/6-http
Git Cheat Sheet
Import the RouterModule in AppModule. Use the RouterModule.forRoot defining following routes:
In your app component:
change movie-overview component so that
Learning objectives:
Application requirements:
Fallback branch: exercise/7-router
Full solution branch: exercise/8-forms
Git Cheat Sheet
{ firstname: string, lastname: string, email: string, passwords: { password: string, passwordRepeat: string} }