Controller in Side Menu in 0.9.25


#1

Hello, I updated my project to the 0.9.25 release yesterday and I updated my markup prefixin ion- in all my directives. My project uses side-menu and navigation. I know this mix is a little tricky but it worked before. I looked in this code pen http://codepen.io/ionic/pen/EtbrF and it works nice together, but they are not using a controller for the side menu anymore, and they are placing the templates inside of scripts, and i’m not very familiar with that. This is my markup:

  <body ng-app="starter">
      <ion-side-menus>
          <ion-pane ion-side-menu-content class="app-background">
              <div animation="slide-left-right">
                  <ion-nav-bar id="header-bar-landing"
                           class="nav-title-slide-ios7"
                           type="bar-stable"
                           back-button-type="button-icon"
                           back-button-icon="icon ion-arrow-left-c"
                           left-buttons="leftButtons">
                  </ion-nav-bar>
                  <ion-nav-view></ion-nav-view>
              </div>
          </ion-pane>
          <ion-side-menu side="left" ng-controller="SideMenuCtrl">
              <ion-header-bar type="bar-light" left-buttons="leftButtons" align-title="left" title="headerTitle">
              </ion-header-bar>
              <ion-content has-header="true" scroll="true">
                  <ion-list>
                      <a class="item item-icon-left side-menu-item" ng-hide="userLoggedIn" ng-click="changePage('home')">
                          Sign In
                          <i class="icon ion-document-text"></i>
                      </a>
                      ...
                  </ion-list>
              </ion-content>
          </ion-side-menu>
      </ion-side-menus>
  </body>

I can open the side menu just fine, but my SideMenuCtrl is not working anymore, therefore there’s no title in the header (in the side menu) and the clicks on the items don’t respond, or the ng-hide I have there. Am I doing something wrong? Any help is appreciated.