Side Menu in its own component

I am trying to set the SideMenu and the SideHeader in its own components in my application. But, I believe that due the fact of the relationship w/ contentId, it is not working.
Does someone have a working example?

  <ion-split-pane contentId="content" >
    <ion-menu contentId="side-menu-content" type="overlay" class="side-menu">
    <ion-router-outlet id="content" main></ion-router-outlet>

I also tried to put the ion-menu inside the component w/ no success.