Ion-scroll and z-index

I am trying to do something like this with the latest (beta-1) version.

<div style="z-index: 9999">some content that should stay above all</div>
<div>
    <ion-scroll>
        <p>enough content to require vertical scrolling</p>
    </ion-scroll>
</div>

The ion-scroll section works but the content appears on above my top div when I scroll. I want it to work the exact same way but under it.

You need to be using a fixed position

Something like : http://codepen.io/calendee/pen/yvzfB

That works. Thanks for the detailed example.