Can I have two ion-content on one page?


#1

I want to make an app that have a static structure that holds a map right below the header, and below it a scrolling menu.

I thought about making two different views using ion-nav-view, and I first tried to use a div for the map, but it would scroll along with the menu since it was inside the ion-content. So I added a second ion-content, each one having one ion-nav-view directive, and controlled their heights and top distance manually.

It worked fine apparently, but since this is not usual, I’m afraid I might be missing something and it might eventually crash.

Can I go along with this idea safely?

Thanks!