POS and inventory modules

Our walking skeleton presumes the role of the manager. To be able to access all components we are about to create, we need to enable the manager to be able to access pos and inventory modules.

Update ManagerComponent with two new buttons:

src/app/manager/manager.component.ts<mat-toolbar color="accent" fxLayoutGap="8px">  ...  <span class="flex-spacer"></span>  <button mat-mini-fab routerLink="/inventory" matTooltip="Inventory" aria-label="Inventory"><mat-icon>list</mat-icon></button>  <button mat-mini-fab routerLink="/pos" matTooltip="POS" aria-label="POS"><mat-icon>shopping_cart</mat-icon></button></mat-toolbar>

Note that these router links will navigate use out of ManagerModule, so it is normal for the toolbar to disappear. ...

Get Angular 6 for Enterprise-Ready Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.