From the course: Building Angular and ASP.NET Web API Apps
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Designing a header and footer
From the course: Building Angular and ASP.NET Web API Apps
Designing a header and footer
- [Male Speaker] On this part, we are going to design the header and the footer of our application. And to do so, we are going to use the toolbar module. So, let us go and configure this module. In your app.module.ts, import the MatToolbarModule. So for that, in line 17, write MatToolbarModule. Now that we imported this module to be able to use it we need to include it in our import section. So for that, we write in here MatToolbarModule and save the changes. Let us start with the footer. So, let's go to the footer, then inside the footer, go to the footer.component.html, and instead of using a paragraph, we are going to use a mat-toolbar. So, mat-toolbar. And then close the tag. So, save the changes and run the application to see the result. So for that, in terminal, write ng serve -o. So here we see that the toolbar is now different. Let us do the same with the header. For that, let us go to the header folder and inside here, go to the header.component.html. The same way, let us…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Creating a Web API HttpPost endpoint3m 48s
-
(Locked)
Configuring an Angular reactive form3m 40s
-
(Locked)
Creating an Angular reactive form7m 48s
-
(Locked)
Validating an Angular reactive form5m 41s
-
(Locked)
Designing a header and footer3m 36s
-
(Locked)
Creating an HttpPost request in Angular3m 18s
-
(Locked)
-
-
-
-
-