File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3838 <!-- Center content -->
3939 < pane side-menu-content nav-router >
4040 < header class ="bar bar-header bar-assertive ">
41- < button class ="button button-icon " ng-click ="openLeft () "> < i class ="icon ion-navicon "> </ i > </ button >
41+ < button class ="button button-icon " ng-click ="toggleLeft () "> < i class ="icon ion-navicon "> </ i > </ button >
4242 < h1 class ="title "> Slide Me</ h1 >
4343 </ header >
4444 <!-- where the content of each page will be rendered -->
@@ -53,7 +53,7 @@ <h1 class="title">Menu</h1>
5353 < content has-header ="true ">
5454 < ul class ="list ">
5555 < a href ="{{item.link}} " class ="item item-icon-left " ng-repeat ="item in list "
56- ng-click ="openLeft () ">
56+ ng-click ="toggleLeft () ">
5757 < i ng-class ="item.iconClass "> </ i >
5858 {{item.text}}
5959 </ a >
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ angular.module('sideMenuApp.controllers', [])
44 // "MenuService" is a service returning mock data (services.js)
55 $scope . list = MenuService . all ( ) ;
66
7- $scope . openLeft = function ( ) {
7+ $scope . toggleLeft = function ( ) {
88 $scope . sideMenuController . toggleLeft ( ) ;
99 } ;
1010 } )
You can’t perform that action at this time.
0 commit comments