In this example, I will create a simple example that will display a form in either modal window or new page based on screen size. In small screen sizes – smartphones & phablets – it will show the form in a new page while in large devices it will display a simple modal window with the form.
You can find the accompanying articles for this repo here https://theinfogrid.com/tech/developers/angular/building-adaptive-layouts-using-angular-flex-layout/