Need help with sidemenu

I am new to Ionic and I am trying out side menu. I see the greenbar but I do not see navicon. Am I missing some thing?

Here is the link to my code

Hey,

If you create a new ionic project using the sidemenu template it will be the best example of what you want to do

Thank you. I will give that a shot.

Also, that is a really old version of Ionic. The current version of Ionic is 1.0.0-beta.14. You can change lines 8 and 9 in the codepen to this to reference that code:

<link href="http://code.ionicframework.com/1.0.0-beta.14/css/ionic.min.css" rel="stylesheet">
<script src="http://code.ionicframework.com/1.0.0-beta.14/js/ionic.bundle.min.js"></script>

Refer to the sidemenu docs for the proper markup for this version. :smile:

Edit: to answer your original question, this is how to add the navicon in beta 14:

<ion-nav-bar class="bar-balanced">
    <ion-nav-buttons>
        <div menu-toggle="left" class="button button-icon icon ion-navicon">
        </div>
    </ion-nav-buttons>
</ion-nav-bar>
2 Likes