The Toolbar itself can be removed from the DOM using *ngIf directive and the developer would only need to add a button to trigger the condition as demonstrated in the following example:
For maximizing, the developer can also add a button and change the width and height of the component, depending on the viewport size. A basic example of such an implementation: