Ionic menu not

I cnt get the ionic menu to work out of the box, i have created a simple menu

   <ion-header>
      <ion-toolbar color="danger">
        <ion-title>End Menu</ion-title>
      </ion-toolbar>
    </ion-header>
    <ion-content>
      <ion-list>
        <ion-item>Menu Item</ion-item>
        <ion-item>Menu Item</ion-item>
        <ion-item>Menu Item</ion-item>
        <ion-item>Menu Item</ion-item>
        <ion-item>Menu Item</ion-item>
      </ion-list>
    </ion-content>
  </ion-menu>

from inside my page i am invoking a button

openMenu(){
    this.menu.enable(true, 'first');
    this.menu.open('first');
  }

nothing works and this is the same example from ionic website. please can you help me understand what i am doing wrong??

Hi

maybe try the ionic menu starter?

ionic start menutest sidemenu

And then compare code? The code snippet you gave will only show the list in a page (unless we arent seeing it all)

TOm

Finally got it working thank you!