How to Code for Portrait and Landscape Layouts in Angular

Use BreakpointObservable in Component Dev Kit (CDK)