Sidemenu link item


#1

I’m new to this framework and am a little doubtful as to refer to other pages with side menu, I leave my code to see if someone can help me. Try to be guided by the examples of the main page but did not understand much.

<ion-side-menu side="left">
    <ion-list>
      <ion-item>Home</ion-item>
    </ion-list>
    <ion-list>
      <ion-item>News</ion-item>
    </ion-list>
    <ion-list>
      <ion-item>Perfil</ion-item>
    </ion-list>
    <ion-list>
      <ion-item>Log out</ion-item>
    </ion-list>
  </ion-side-menu>

JS

var app = angular.module('todo',['ionic'])
app.controller('MainCtrl', function($scope, $ionicSideMenuDelegate){
$scope.toggleLeft = function(){
	$ionicSideMenuDelegate.toggleLeft()
}
})

#2

Alright, so you only need one list element

ion-content
  ion-list
    ion-item*8 

(short hand for now)

Take a look at our side menu demo on codepen

http://codepen.io/ionic/pen/tcIGK