An Angular application
Now that we have Angular set up, and have imported the Angular Material modules, we can focus on building an application. The application that we are going to build will be focused on a user logging in and logging out of our application. A screenshot of the elements in this application is as follows:
Figure 11.4: A screenshot of the elements of our Angular application
Here, we can see that we have a toolbar at the top of the page, with the name of our application called "Switch Sales"
. On the right of the toolbar, we have the logged-in username and a couple of icons. The shopping cart icon will be used to access a user's shopping cart, and we then have a logout button and a login button. Note that in the final version of this toolbar implementation, we will hide or show these buttons based on whether the user is actually logged in.
We also have a panel that slides out from the left when a user clicks on the Login button, which...